aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-06 21:34:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-06 21:52:49 +0200
commit7c3a296b4f1f7fb663812533ef2c87b828a8e8aa (patch)
tree686ad6ded0078d47a759742ecbeba43010f360fd
parent8cc8adaa88a13176039c6d95d98afaf115cbc768 (diff)
downloadffmpeg-7c3a296b4f1f7fb663812533ef2c87b828a8e8aa.tar.gz
jpeg2000dec: fix av_log()
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/jpeg2000dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 0f0259aa28..af542b9c80 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -326,7 +326,7 @@ static int get_cod(Jpeg2000DecoderContext *s, Jpeg2000CodingStyle *c,
tmp.mct = bytestream2_get_byteu(&s->g); // multiple component transformation
if (tmp.mct && s->ncomponents < 3) {
- av_log(s->avctx, "MCT %d with too few components (%d)\n", tmp.mct, s->ncomponents);
+ av_log(s->avctx, AV_LOG_ERROR, "MCT %d with too few components (%d)\n", tmp.mct, s->ncomponents);
return AVERROR_INVALIDDATA;
}