Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f82106aa
Commit
f82106aa
authored
May 16, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly clear the struct, this shuts up another compiler warning.
parent
ec8576f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_filter/magnify.c
modules/video_filter/magnify.c
+4
-2
No files found.
modules/video_filter/magnify.c
View file @
f82106aa
...
@@ -122,8 +122,9 @@ static int Init( vout_thread_t *p_vout )
...
@@ -122,8 +122,9 @@ static int Init( vout_thread_t *p_vout )
{
{
int
i_index
;
int
i_index
;
picture_t
*
p_pic
;
picture_t
*
p_pic
;
video_format_t
fmt
=
{
0
}
;
video_format_t
fmt
;
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
I_OUTPUTPICTURES
=
0
;
I_OUTPUTPICTURES
=
0
;
/* Initialize the output structure */
/* Initialize the output structure */
...
@@ -217,10 +218,11 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -217,10 +218,11 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
int
o_zoom
=
p_vout
->
p_sys
->
i_zoom
;
int
o_zoom
=
p_vout
->
p_sys
->
i_zoom
;
int
x
,
y
,
o_yp
,
o_xp
;
int
x
,
y
,
o_yp
,
o_xp
;
int
v_w
,
v_h
;
int
v_w
,
v_h
;
video_format_t
fmt_out
=
{
0
}
;
video_format_t
fmt_out
;
picture_t
*
p_converted
;
picture_t
*
p_converted
;
plane_t
*
p_oyp
=
NULL
;
plane_t
*
p_oyp
=
NULL
;
memset
(
&
fmt_out
,
0
,
sizeof
(
video_format_t
)
);
/* This is a new frame. Get a structure from the video_output. */
/* This is a new frame. Get a structure from the video_output. */
while
(
(
p_outpic
=
vout_CreatePicture
(
p_vout
->
p_sys
->
p_vout
,
0
,
0
,
0
)
)
while
(
(
p_outpic
=
vout_CreatePicture
(
p_vout
->
p_sys
->
p_vout
,
0
,
0
,
0
)
)
==
NULL
)
==
NULL
)
...
...
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