1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fix compilation with DEBUG defined

Originally committed as revision 19015 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-05-31 04:26:22 +00:00
parent e695906ec7
commit 19c0563ac2

View File

@ -90,20 +90,20 @@ int ff_mpegaudio_decode_header(MPADecodeHeader *s, uint32_t header)
}
#if defined(DEBUG)
dprintf(s->avctx, "layer%d, %d Hz, %d kbits/s, ",
dprintf(NULL, "layer%d, %d Hz, %d kbits/s, ",
s->layer, s->sample_rate, s->bit_rate);
if (s->nb_channels == 2) {
if (s->layer == 3) {
if (s->mode_ext & MODE_EXT_MS_STEREO)
dprintf(s->avctx, "ms-");
dprintf(NULL, "ms-");
if (s->mode_ext & MODE_EXT_I_STEREO)
dprintf(s->avctx, "i-");
dprintf(NULL, "i-");
}
dprintf(s->avctx, "stereo");
dprintf(NULL, "stereo");
} else {
dprintf(s->avctx, "mono");
dprintf(NULL, "mono");
}
dprintf(s->avctx, "\n");
dprintf(NULL, "\n");
#endif
return 0;
}