Commit a638c16c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avformat Don't double unlock

parent 0707e3ff
......@@ -212,7 +212,6 @@ int OpenDemux( vlc_object_t *p_this )
vlc_avcodec_lock(); /* avformat calls avcodec behind our back!!! */
if( av_find_stream_info( p_sys->ic ) < 0 )
{
vlc_avcodec_unlock();
msg_Warn( p_demux, "av_find_stream_info failed" );
}
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