From 716d73b47dfce135ce6f177553e4b8e7826e0c55 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 26 Aug 2006 20:16:54 +0000 Subject: [PATCH] unused var Originally committed as revision 6104 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudiodec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 684928a5ab..c76e05bc97 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -102,7 +102,6 @@ typedef struct MPADecodeContext { int sample_rate; int sample_rate_index; /* between 0 and 8 */ int bit_rate; - int old_frame_size; GetBitContext gb; GetBitContext in_gb; int nb_channels; @@ -2328,8 +2327,6 @@ static int mp_decode_layer3(MPADecodeContext *s) memcpy(s->last_buf + s->last_buf_size, ptr, EXTRABYTES); s->in_gb= s->gb; init_get_bits(&s->gb, s->last_buf + s->last_buf_size - main_data_begin, main_data_begin*8); - /* prepare next buffer */ - s->old_frame_size = s->frame_size; } for(gr=0;gr