*/
/**
- * @file libavcodec/mpegaudiodecheader.c
+ * @file
* MPEG Audio header decoder.
*/
#include "avcodec.h"
#include "mpegaudio.h"
#include "mpegaudiodata.h"
+#include "mpegaudiodecheader.h"
int ff_mpegaudio_decode_header(MPADecodeHeader *s, uint32_t header)
}
#if defined(DEBUG)
- dprintf(s->avctx, "layer%d, %d Hz, %d kbits/s, ",
+ av_dlog(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-");
+ av_dlog(NULL, "ms-");
if (s->mode_ext & MODE_EXT_I_STEREO)
- dprintf(s->avctx, "i-");
+ av_dlog(NULL, "i-");
}
- dprintf(s->avctx, "stereo");
+ av_dlog(NULL, "stereo");
} else {
- dprintf(s->avctx, "mono");
+ av_dlog(NULL, "mono");
}
- dprintf(s->avctx, "\n");
+ av_dlog(NULL, "\n");
#endif
return 0;
}