aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2012-01-01 22:08:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-03 22:48:40 +0100
commit3fe4055c5fe5c111deda7ee72550c1e9c7647183 (patch)
tree91eef74ea2da28d93f206aab9612b3e0859cedc7
parent86fbd610ef706bd0e26a246023e6324e9ca8c13a (diff)
downloadffmpeg-3fe4055c5fe5c111deda7ee72550c1e9c7647183.tar.gz
j2kdec: av_log formatting use %tx instead of %x
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b1031562351d81fb56f9338df5876dc2153d9f26) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/j2kdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c
index e35c97d860..7f6506bb92 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%tx\n", marker, s->buf - s->buf_start - 4);
oldbuf = s->buf;
if (marker == J2K_SOD){