[FFmpeg-cvslog] avcodec/jpeg2000dec: Print what is found in place of EPH if EPH is not found

Michael Niedermayer git at videolan.org
Fri Jun 26 22:08:04 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 26 21:03:58 2015 +0200| [c56ba5c270642ac9334fa743955f2954672f773d] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c56ba5c270642ac9334fa743955f2954672f773d
---

 libavcodec/jpeg2000dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index be88f11..1a15bf8 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -994,7 +994,7 @@ static int jpeg2000_decode_packet(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile,
         if (bytestream2_peek_be16(&s->g) == JPEG2000_EPH)
             bytestream2_skip(&s->g, 2);
         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++) {



More information about the ffmpeg-cvslog mailing list