Commit 7b20f981 authored by Geoffroy Couprie's avatar Geoffroy Couprie Committed by Pierre d'Herbemont

Fixed a segfault in podcast

Signed-off-by: default avatarPierre d'Herbemont <pdherbemont@videolan.org>
parent 4c8992c9
......@@ -270,6 +270,11 @@ static int Demux( demux_t *p_demux )
if( !psz_elname ) return -1;
if( !strcmp( psz_elname, "item" ) )
{
if( psz_item_mrl == NULL )
{
msg_Err( p_demux, "invalid XML (no enclosure markup)" );
return -1;
}
p_input = input_ItemNewExt( p_playlist, psz_item_mrl,
psz_item_name, 0, NULL, -1 );
if( p_input == NULL ) break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment