kmvc: Log into a context at a log level constant.
authorAlex Converse <alex.converse@gmail.com>
Mon, 30 Jan 2012 18:27:50 +0000 (10:27 -0800)
committerAlex Converse <alex.converse@gmail.com>
Mon, 30 Jan 2012 18:54:24 +0000 (10:54 -0800)
libavcodec/kmvc.c

index a6bb13b..f862154 100644 (file)
@@ -377,7 +377,8 @@ static av_cold int decode_init(AVCodecContext * avctx)
     }
 
     if (avctx->extradata_size < 12) {
-        av_log(NULL, 0, "Extradata missing, decoding may not work properly...\n");
+        av_log(avctx, AV_LOG_WARNING,
+               "Extradata missing, decoding may not work properly...\n");
         c->palsize = 127;
     } else {
         c->palsize = AV_RL16(avctx->extradata + 10);