mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-12 09:39:46 +00:00
jpeg2000dec: fix av_log()
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8cc8adaa88
commit
7c3a296b4f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user