[FFmpeg-cvslog] j2kdec: use correct printf format.

Nicolas George git at videolan.org
Wed Sep 28 16:31:18 CEST 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sun Sep 25 12:34:05 2011 +0200| [6d98e2db35d22ed50a2195da23eda13baff491b5] | committer: Michael Niedermayer

j2kdec: use correct printf format.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/j2kdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c
index 998752b..4c1f654 100644
--- a/libavcodec/j2kdec.c
+++ b/libavcodec/j2kdec.c
@@ -948,7 +948,7 @@ static int decode_codestream(J2kDecoderContext *s)
                 // the comment is ignored
                 s->buf += len - 2; break;
             default:
-                av_log(s->avctx, AV_LOG_ERROR, "unsupported marker 0x%.4X at pos 0x%x\n", marker, s->buf - s->buf_start - 4);
+                av_log(s->avctx, AV_LOG_ERROR, "unsupported marker 0x%.4X at pos 0x%tx\n", marker, s->buf - s->buf_start - 4);
                 s->buf += len - 2; break;
         }
         if (s->buf - oldbuf != len || ret){



More information about the ffmpeg-cvslog mailing list