jpeg2000dec: print more detailed cdx/y debug info
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 31 May 2013 11:32:33 +0000 (13:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 31 May 2013 11:32:33 +0000 (13:32 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000dec.c

index 70a5b3b..075707e 100644 (file)
@@ -192,7 +192,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
         s->cdx[i]    = bytestream2_get_byteu(&s->g);
         s->cdy[i]    = bytestream2_get_byteu(&s->g);
         if (s->cdx[i] != 1 || s->cdy[i] != 1) {
-            av_log(s->avctx, AV_LOG_ERROR, "unsupported/ CDxy values\n");
+            av_log(s->avctx, AV_LOG_ERROR, "unsupported/ CDxy values %d %d for component %d\n", s->cdx[i], s->cdy[i], i);
         }
     }