diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-06-06 21:34:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-06 21:52:49 +0200 |
commit | 7c3a296b4f1f7fb663812533ef2c87b828a8e8aa (patch) | |
tree | 686ad6ded0078d47a759742ecbeba43010f360fd | |
parent | 8cc8adaa88a13176039c6d95d98afaf115cbc768 (diff) | |
download | ffmpeg-7c3a296b4f1f7fb663812533ef2c87b828a8e8aa.tar.gz |
jpeg2000dec: fix av_log()
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/jpeg2000dec.c | 2 |
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; } |