[vlc-commits] commit: Avformat Don't double unlock (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Mar 28 19:55:29 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 28 18:52:06 2010 +0200| [a638c16c26793ee518a5d4761f15950df80a7222] | committer: Jean-Baptiste Kempf 

Avformat Don't double unlock

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a638c16c26793ee518a5d4761f15950df80a7222
---

 modules/demux/avformat/demux.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index ffde832..23044f1 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -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();



More information about the vlc-commits mailing list