diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-10 18:46:54 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-10 20:25:53 +0200 |
commit | 3d929a607a49e65d66cc8101425b114a5dd5fd84 (patch) | |
tree | be0cc2ec15c214f16a309c0027295541b662753f | |
parent | dc05b6af3d18772f441388e73e8729dae124ecec (diff) | |
download | ffmpeg-3d929a607a49e65d66cc8101425b114a5dd5fd84.tar.gz |
mpegaudio: remove frame_count variable and its only usage, it is always 0.
-rw-r--r-- | libavcodec/mpegaudio.h | 3 | ||||
-rw-r--r-- | libavcodec/mpegaudiodec.c | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h index f84e2d44ee..30ef349399 100644 --- a/libavcodec/mpegaudio.h +++ b/libavcodec/mpegaudio.h @@ -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; diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index d7bc89f837..b1c9ef93a0 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -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; |