diff a52dec.c @ 1602:fdb8244da1e5 libavcodec

av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author michael
date Mon, 03 Nov 2003 18:06:54 +0000
parents 1e39f273ecd6
children 141a9539e270
line wrap: on
line diff
--- a/a52dec.c	Mon Nov 03 17:42:50 2003 +0000
+++ b/a52dec.c	Mon Nov 03 18:06:54 2003 +0000
@@ -190,7 +190,7 @@
 			/* 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;