]> git.sesse.net Git - vlc/commitdiff
Do not fail on av_find_stream_info error (avformat).
authorLaurent Aimar <fenrir@videolan.org>
Sat, 20 Feb 2010 12:00:14 +0000 (13:00 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 20 Feb 2010 13:11:25 +0000 (14:11 +0100)
It is not fatal.

modules/demux/avformat/demux.c

index 94d5a892f6bd1b9646d09ebf8d28804632388269..572eedc2b3b946b099abad8448512db153834a47 100644 (file)
@@ -209,9 +209,7 @@ int OpenDemux( vlc_object_t *p_this )
     if( av_find_stream_info( p_sys->ic ) < 0 )
     {
         vlc_avcodec_unlock();
-        msg_Err( p_demux, "av_find_stream_info failed" );
-        CloseDemux( p_this );
-        return VLC_EGENERIC;
+        msg_Warn( p_demux, "av_find_stream_info failed" );
     }
     vlc_avcodec_unlock();