Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f4e4859f
Commit
f4e4859f
authored
Apr 05, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing initializer compiler. Use memset to properly clear the entire struct.
parent
21bd97f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+4
-2
No files found.
src/video_output/vout_intf.c
View file @
f4e4859f
...
@@ -444,15 +444,17 @@ void vout_IntfInit( vout_thread_t *p_vout )
...
@@ -444,15 +444,17 @@ void vout_IntfInit( vout_thread_t *p_vout )
int
vout_Snapshot
(
vout_thread_t
*
p_vout
,
picture_t
*
p_pic
)
int
vout_Snapshot
(
vout_thread_t
*
p_vout
,
picture_t
*
p_pic
)
{
{
image_handler_t
*
p_image
=
image_HandlerCreate
(
p_vout
);
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
;
char
*
psz_filename
=
NULL
;
subpicture_t
*
p_subpic
;
subpicture_t
*
p_subpic
;
picture_t
*
p_pif
;
picture_t
*
p_pif
;
vlc_value_t
val
,
format
;
vlc_value_t
val
,
format
;
DIR
*
path
;
DIR
*
path
;
int
i_ret
;
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
);
var_Get
(
p_vout
,
"snapshot-path"
,
&
val
);
if
(
val
.
psz_string
&&
!*
val
.
psz_string
)
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