[FFmpeg-devel] [PATCH 3/5] j2kdec: av_log formatting use %lx instead of %x
Jean First
jeanfirst at gmail.com
Sun Jan 1 16:26:13 CET 2012
Signed-off-by: Jean First <jeanfirst at gmail.com>
---
libavcodec/j2kdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c
index d605b13..7cd72cb 100644
--- a/libavcodec/j2kdec.c
+++ b/libavcodec/j2kdec.c
@@ -921,7 +921,7 @@ static int decode_codestream(J2kDecoderContext *s)
marker = bytestream_get_be16(&s->buf);
if(s->avctx->debug & FF_DEBUG_STARTCODE)
- av_log(s->avctx, AV_LOG_DEBUG, "marker 0x%.4X at pos 0x%x\n", marker, s->buf - s->buf_start - 4);
+ av_log(s->avctx, AV_LOG_DEBUG, "marker 0x%.4X at pos 0x%lx\n", marker, s->buf - s->buf_start - 4);
oldbuf = s->buf;
if (marker == J2K_SOD){
--
1.7.7.3
More information about the ffmpeg-devel
mailing list