dpcm: use AV_LOG_ERROR for error message.
authorPiotr Bandurski <ami_stuff@o2.pl>
Mon, 5 Nov 2012 16:44:24 +0000 (17:44 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Mon, 5 Nov 2012 16:44:24 +0000 (17:44 +0100)
libavcodec/dpcm.c

index 1875a55..c9c45c6 100644 (file)
@@ -118,7 +118,7 @@ static av_cold int dpcm_decode_init(AVCodecContext *avctx)
     int i;
 
     if (avctx->channels < 1 || avctx->channels > 2) {
-        av_log(avctx, AV_LOG_INFO, "invalid number of channels\n");
+        av_log(avctx, AV_LOG_ERROR, "invalid number of channels\n");
         return AVERROR(EINVAL);
     }