avcodec/xwdenc: use AV_LOG_ERROR in error message
authorPaul B Mahol <onemda@gmail.com>
Mon, 9 Sep 2013 09:51:38 +0000 (09:51 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 9 Sep 2013 11:58:12 +0000 (11:58 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/xwdenc.c

index e98de5e..4b4f368 100644 (file)
@@ -138,7 +138,7 @@ static int xwd_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
         vclass   = XWD_STATIC_GRAY;
         break;
     default:
-        av_log(avctx, AV_LOG_INFO, "unsupported pixel format\n");
+        av_log(avctx, AV_LOG_ERROR, "unsupported pixel format\n");
         return AVERROR(EINVAL);
     }