aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-01-30 10:27:50 -0800
committerAlex Converse <alex.converse@gmail.com>2012-01-30 10:54:24 -0800
commitae35210a5d201e5ca7da83f46226681ceb3d5ad9 (patch)
treefa1b57329e7c34376c3ccc9ec30a2d452f3568ff
parentdfa37fe8a3d9243dd339d94befa065e2c90b29e6 (diff)
downloadffmpeg-ae35210a5d201e5ca7da83f46226681ceb3d5ad9.tar.gz
kmvc: Log into a context at a log level constant.
-rw-r--r--libavcodec/kmvc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c
index a6bb13b95a..f862154b05 100644
--- a/libavcodec/kmvc.c
+++ b/libavcodec/kmvc.c
@@ -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);