Commit c56ba5c2 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/jpeg2000dec: Print what is found in place of EPH if EPH is not found

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5abd4a93
...@@ -994,7 +994,7 @@ static int jpeg2000_decode_packet(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile, ...@@ -994,7 +994,7 @@ static int jpeg2000_decode_packet(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile,
if (bytestream2_peek_be16(&s->g) == JPEG2000_EPH) if (bytestream2_peek_be16(&s->g) == JPEG2000_EPH)
bytestream2_skip(&s->g, 2); bytestream2_skip(&s->g, 2);
else else
av_log(s->avctx, AV_LOG_ERROR, "EPH marker not found.\n"); av_log(s->avctx, AV_LOG_ERROR, "EPH marker not found. instead %X\n", bytestream2_peek_be32(&s->g));
} }
for (bandno = 0; bandno < rlevel->nbands; bandno++) { for (bandno = 0; bandno < rlevel->nbands; bandno++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment