segfault fix when id3tag is unavailable

parent 68fc7992
......@@ -180,10 +180,13 @@ static int Open( vlc_object_t * p_this )
if( ( p_id3 = module_Need( p_demux, "id3", NULL, 0 ) ) )
{
p_sys->meta = (vlc_meta_t *)p_demux->p_private;
if( p_sys->meta != NULL )
{
/* temporary */
msg_Dbg( p_demux, "Title : %s",
vlc_meta_GetValue( p_sys->meta,VLC_META_TITLE ) );
p_demux->p_private = NULL;
}
module_Unneed( p_demux, p_id3 );
}
......
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