Commit aad46ccd authored by Laurent Aimar's avatar Laurent Aimar

Do not fail on av_find_stream_info error (avformat).

It is not fatal.
parent f94cd3e8
...@@ -209,9 +209,7 @@ int OpenDemux( vlc_object_t *p_this ) ...@@ -209,9 +209,7 @@ int OpenDemux( vlc_object_t *p_this )
if( av_find_stream_info( p_sys->ic ) < 0 ) if( av_find_stream_info( p_sys->ic ) < 0 )
{ {
vlc_avcodec_unlock(); vlc_avcodec_unlock();
msg_Err( p_demux, "av_find_stream_info failed" ); msg_Warn( p_demux, "av_find_stream_info failed" );
CloseDemux( p_this );
return VLC_EGENERIC;
} }
vlc_avcodec_unlock(); vlc_avcodec_unlock();
......
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