OSDN Git Service

mpegaudio: remove frame_count variable and its only usage, it is always 0.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 10 May 2011 16:46:54 +0000 (18:46 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 10 May 2011 18:25:53 +0000 (20:25 +0200)
libavcodec/mpegaudio.h
libavcodec/mpegaudiodec.c

index f84e2d4..30ef349 100644 (file)
@@ -147,9 +147,6 @@ typedef struct MPADecodeContext {
     DECLARE_ALIGNED(16, INTFLOAT, sb_samples)[MPA_MAX_CHANNELS][36][SBLIMIT];
     INTFLOAT mdct_buf[MPA_MAX_CHANNELS][SBLIMIT * 18]; /* previous samples, for layer 3 MDCT */
     GranuleDef granules[2][2]; /* Used in Layer 3 */
-#ifdef DEBUG
-    int frame_count;
-#endif
     int adu_mode; ///< 0 for standard mp3, 1 for adu formatted mp3
     int dither_state;
     int error_recognition;
index d7bc89f..b1c9ef9 100644 (file)
@@ -1872,7 +1872,6 @@ static int mp_decode_frame(MPADecodeContext *s,
     if (s->error_protection)
         skip_bits(&s->gb, 16);
 
-    av_dlog(s->avctx, "frame %d:\n", s->frame_count);
     switch(s->layer) {
     case 1:
         s->avctx->frame_size = 384;