From 8f03706af8037570dec58760ee542d4f05ef3fe2 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Tue, 22 Oct 2002 23:39:53 +0000 Subject: Fix a warning. CVS patchset: 2942 CVS date: 2002/10/22 23:39:53 --- src/demuxers/demux_asf.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index c11ce79a8..72e40b0c7 100644 --- a/src/demuxers/demux_asf.c +++ b/src/demuxers/demux_asf.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_asf.c,v 1.68 2002/10/22 04:23:19 storri Exp $ + * $Id: demux_asf.c,v 1.69 2002/10/22 23:39:53 tmattern Exp $ * * demultiplexer for asf streams * @@ -1223,8 +1223,9 @@ static void demux_asf_send_headers (demux_plugin_t *this_gen) { demux_asf_t *this = (demux_asf_t *) this_gen; int i; int stream_id; - uint32_t buf_type, bitrate, max_vrate, max_arate, sum_rate; - + uint32_t buf_type, max_vrate, max_arate, sum_rate; + uint32_t bitrate = 0; + pthread_mutex_lock (&this->mutex); this->video_fifo = this->stream->video_fifo; -- cgit v1.2.3