Mercurial > libavcodec.hg
changeset 9740:30b00f4bdeb1 libavcodec
fix compilation with DEBUG defined
author | bcoudurier |
---|---|
date | Sun, 31 May 2009 04:26:22 +0000 |
parents | 96e6cab7470a |
children | e52891e48ceb |
files | mpegaudiodecheader.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegaudiodecheader.c Sat May 30 22:19:14 2009 +0000 +++ b/mpegaudiodecheader.c Sun May 31 04:26:22 2009 +0000 @@ -90,20 +90,20 @@ } #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; }