From: Michael Niedermayer <[email protected]>
Found-by: ubitux
Signed-off-by: Michael Niedermayer <[email protected]>
---
libavcodec/jpeg2000dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 3b42d9a..049b399 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -340,7 +340,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;
}
--
1.8.2.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel