Commit 371a27f5 authored by Laurent Aimar's avatar Laurent Aimar

Do not create empty title (avformat).

parent dbb3a9c9
......@@ -321,6 +321,7 @@ int OpenDemux( vlc_object_t *p_this )
p_sys->ic->duration * 1000000 / AV_TIME_BASE : -1 );
#ifdef HAVE_FFMPEG_CHAPTERS
if( p_sys->ic->nb_chapters > 0 )
p_sys->p_title = vlc_input_title_New();
for( i = 0; i < p_sys->ic->nb_chapters; i++ )
{
......
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