[vlc-devel] commit: Don't require location under track element in xspf-playlist. ( Ilkka Ollakka )
git version control
git at videolan.org
Sat Dec 20 09:25:15 CET 2008
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Dec 20 10:23:45 2008 +0200| [57662f508dc6d09f6976eb78d018b7d8525fd0b8] | committer: Ilkka Ollakka
Don't require location under track element in xspf-playlist.
Should fix #1597
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57662f508dc6d09f6976eb78d018b7d8525fd0b8
---
modules/demux/playlist/xspf.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index 04f264e..d2f2f87 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -510,13 +510,8 @@ static bool parse_track_node COMPLEX_INTERFACE
if( p_demux->p_sys->i_track_id < 0 )
{
- char *psz_uri = input_item_GetURI( p_new_input );
- if( psz_uri && *psz_uri)
- {
- input_item_AddSubItem( p_input_item, p_new_input );
- }
+ input_item_AddSubItem( p_input_item, p_new_input );
vlc_gc_decref( p_new_input );
- free( psz_uri );
return true;
}
More information about the vlc-devel
mailing list