From 1eab54ff57848fc10475d9314698f4675396488f Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 23 Aug 2003 11:46:06 +0000 Subject: [PATCH] * avi : fixed a lock problem. --- modules/demux/avi/avi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index c5f3c82ed4..e3608b5c0b 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -2,7 +2,7 @@ * avi.c : AVI file Stream input module for vlc ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: avi.c,v 1.58 2003/08/22 22:52:48 fenrir Exp $ + * $Id: avi.c,v 1.59 2003/08/23 11:46:06 fenrir Exp $ * Authors: Laurent Aimar * * This program is free software; you can redistribute it and/or modify @@ -504,7 +504,6 @@ static int Open( vlc_object_t * p_this ) #undef p_stream } - vlc_mutex_lock( &p_input->stream.stream_lock ); if( p_avi->i_length ) { p_input->stream.i_mux_rate = @@ -514,7 +513,6 @@ static int Open( vlc_object_t * p_this ) msg_Dbg( p_input, "interleaved=%s", p_avi->b_interleaved ? "yes" : "no" ); } - vlc_mutex_unlock( &p_input->stream.stream_lock ); b_stream_audio = VLC_FALSE; b_stream_video = VLC_FALSE; -- 2.20.1