Commit 480591f3 authored by bcoudurier's avatar bcoudurier

fix compilation with DEBUG defined

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19015 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 55443149
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment