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
2a8a5de2
Commit
2a8a5de2
authored
Jul 02, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RSS: remove unused XML validator
parent
39c3f27b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
modules/video_filter/rss.c
modules/video_filter/rss.c
+1
-13
No files found.
modules/video_filter/rss.c
View file @
2a8a5de2
...
@@ -887,7 +887,6 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
...
@@ -887,7 +887,6 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
stream_t
*
p_stream
;
stream_t
*
p_stream
;
xml_t
*
p_xml
;
xml_reader_t
*
p_xml_reader
;
xml_reader_t
*
p_xml_reader
;
int
i_feed
;
int
i_feed
;
...
@@ -901,14 +900,6 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
...
@@ -901,14 +900,6 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
if
(
!
p_feeds
)
if
(
!
p_feeds
)
return
NULL
;
return
NULL
;
p_xml
=
xml_Create
(
p_filter
);
if
(
!
p_xml
)
{
msg_Err
(
p_filter
,
"Failed to open XML parser"
);
free
(
p_feeds
);
return
NULL
;
}
/* Fetch all feeds and parse them */
/* Fetch all feeds and parse them */
for
(
i_feed
=
0
;
i_feed
<
i_feeds
;
i_feed
++
)
for
(
i_feed
=
0
;
i_feed
<
i_feeds
;
i_feed
++
)
{
{
...
@@ -937,7 +928,7 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
...
@@ -937,7 +928,7 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
goto
error
;
goto
error
;
}
}
p_xml_reader
=
xml_ReaderCreate
(
p_
xml
,
p_stream
);
p_xml_reader
=
xml_ReaderCreate
(
p_
filter
,
p_stream
);
if
(
!
p_xml_reader
)
if
(
!
p_xml_reader
)
{
{
msg_Err
(
p_filter
,
"Failed to open %s for parsing"
,
p_feed
->
psz_url
);
msg_Err
(
p_filter
,
"Failed to open %s for parsing"
,
p_feed
->
psz_url
);
...
@@ -959,7 +950,6 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
...
@@ -959,7 +950,6 @@ static rss_feed_t* FetchRSS( filter_t *p_filter )
stream_Delete
(
p_stream
);
stream_Delete
(
p_stream
);
}
}
xml_Delete
(
p_xml
);
return
p_feeds
;
return
p_feeds
;
error:
error:
...
@@ -968,8 +958,6 @@ error:
...
@@ -968,8 +958,6 @@ error:
xml_ReaderDelete
(
p_xml_reader
);
xml_ReaderDelete
(
p_xml_reader
);
if
(
p_stream
)
if
(
p_stream
)
stream_Delete
(
p_stream
);
stream_Delete
(
p_stream
);
if
(
p_xml
)
xml_Delete
(
p_xml
);
return
NULL
;
return
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