summaryrefslogtreecommitdiff
path: root/libavcodec/a52dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/a52dec.c')
-rw-r--r--libavcodec/a52dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/a52dec.c b/libavcodec/a52dec.c
index fb169c7ee3..a22391f7ff 100644
--- a/libavcodec/a52dec.c
+++ b/libavcodec/a52dec.c
@@ -190,7 +190,7 @@ static int a52_decode_frame(AVCodecContext *avctx,
/* No specific number of channel requested */
avctx->channels = s->channels;
else if (s->channels < avctx->channels) {
- fprintf(stderr, "ac3dec: AC3 Source channels are less than specified: output to %d channels.. (frmsize: %d)\n", s->channels, len);
+ av_log(avctx, AV_LOG_ERROR, "ac3dec: AC3 Source channels are less than specified: output to %d channels.. (frmsize: %d)\n", s->channels, len);
avctx->channels = s->channels;
}
avctx->bit_rate = bit_rate;