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
b7621186
Commit
b7621186
authored
May 16, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings of type "warning: (near initialization for `fmt.i_aspect')"
parent
f82106aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
modules/video_filter/rss.c
modules/video_filter/rss.c
+13
-6
No files found.
modules/video_filter/rss.c
View file @
b7621186
...
@@ -344,14 +344,15 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
...
@@ -344,14 +344,15 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
{
{
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
subpicture_t
*
p_spu
;
subpicture_t
*
p_spu
;
video_format_t
fmt
=
{
0
};
video_format_t
fmt
;
subpicture_region_t
*
p_region
;
subpicture_region_t
*
p_region
;
int
i_feed
,
i_item
;
int
i_feed
,
i_item
;
struct
rss_feed_t
*
p_feed
;
struct
rss_feed_t
*
p_feed
;
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
vlc_mutex_lock
(
&
p_sys
->
lock
);
vlc_mutex_lock
(
&
p_sys
->
lock
);
if
(
p_sys
->
last_date
if
(
p_sys
->
last_date
...
@@ -501,7 +502,9 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
...
@@ -501,7 +502,9 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
{
{
/* Display the feed's image */
/* Display the feed's image */
picture_t
*
p_pic
=
p_feed
->
p_pic
;
picture_t
*
p_pic
=
p_feed
->
p_pic
;
video_format_t
fmt_out
=
{
0
};
video_format_t
fmt_out
;
memset
(
&
fmt_out
,
0
,
sizeof
(
video_format_t
)
);
fmt_out
.
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'A'
);
fmt_out
.
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'A'
);
fmt_out
.
i_aspect
=
VOUT_ASPECT_FACTOR
;
fmt_out
.
i_aspect
=
VOUT_ASPECT_FACTOR
;
...
@@ -545,11 +548,15 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
...
@@ -545,11 +548,15 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
static
picture_t
*
LoadImage
(
filter_t
*
p_filter
,
const
char
*
psz_url
)
static
picture_t
*
LoadImage
(
filter_t
*
p_filter
,
const
char
*
psz_url
)
{
{
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
video_format_t
fmt_in
;
video_format_t
fmt_in
=
{
0
},
fmt_out
=
{
0
};
video_format_t
fmt_out
;
picture_t
*
p_orig
,
*
p_pic
=
NULL
;
picture_t
*
p_orig
;
picture_t
*
p_pic
=
NULL
;
image_handler_t
*
p_handler
=
image_HandlerCreate
(
p_filter
);
image_handler_t
*
p_handler
=
image_HandlerCreate
(
p_filter
);
memset
(
&
fmt_in
,
0
,
sizeof
(
video_format_t
)
);
memset
(
&
fmt_out
,
0
,
sizeof
(
video_format_t
)
);
fmt_out
.
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'A'
);
fmt_out
.
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'A'
);
p_orig
=
image_ReadUrl
(
p_handler
,
psz_url
,
&
fmt_in
,
&
fmt_out
);
p_orig
=
image_ReadUrl
(
p_handler
,
psz_url
,
&
fmt_in
,
&
fmt_out
);
...
...
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