aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/a52dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-03 18:06:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-03 18:06:54 +0000
commit3d0ef6dd52b7db3375249978113847d5dea361a7 (patch)
treee30f7eaaaaa789048968f9219b3a8b4320ba2b7d /libavcodec/a52dec.c
parentea05d9c9c71f916b4dd3c62386286d1da09e0ad6 (diff)
downloadffmpeg-3d0ef6dd52b7db3375249978113847d5dea361a7.tar.gz
av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2474 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;