]> git.sesse.net Git - ffmpeg/commitdiff
unused var
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Aug 2006 20:16:54 +0000 (20:16 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Aug 2006 20:16:54 +0000 (20:16 +0000)
Originally committed as revision 6104 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegaudiodec.c

index 684928a5ab1bc569fbb8b175af75a6d7f2956d35..c76e05bc97fd71a6a9e45a57f8f3ba49a0365a55 100644 (file)
@@ -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<nb_granules;gr++) {