]> git.sesse.net Git - vlc/commitdiff
Avformat Don't double unlock
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 28 Mar 2010 16:52:06 +0000 (18:52 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 28 Mar 2010 16:52:41 +0000 (18:52 +0200)
modules/demux/avformat/demux.c

index ffde8323c1672f839db3d5e5495524b168ae4bb5..23044f1b58deed4e69d9ca31aab3da65ad8ffbf6 100644 (file)
@@ -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();