Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
f4e4859f
Commit
f4e4859f
authored
Apr 05, 2007
by
Jean-Paul Saman
Browse files
Fix missing initializer compiler. Use memset to properly clear the entire struct.
parent
21bd97f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/video_output/vout_intf.c
View file @
f4e4859f
...
...
@@ -444,15 +444,17 @@ void vout_IntfInit( vout_thread_t *p_vout )
int
vout_Snapshot
(
vout_thread_t
*
p_vout
,
picture_t
*
p_pic
)
{
image_handler_t
*
p_image
=
image_HandlerCreate
(
p_vout
);
video_format_t
fmt_in
=
{
0
}
,
fmt_out
=
{
0
}
;
video_format_t
fmt_in
,
fmt_out
;
char
*
psz_filename
=
NULL
;
subpicture_t
*
p_subpic
;
picture_t
*
p_pif
;
vlc_value_t
val
,
format
;
DIR
*
path
;
int
i_ret
;
memset
(
&
fmt_in
,
0
,
sizeof
(
video_format_t
));
memset
(
&
fmt_out
,
0
,
sizeof
(
video_format_t
));
var_Get
(
p_vout
,
"snapshot-path"
,
&
val
);
if
(
val
.
psz_string
&&
!*
val
.
psz_string
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment