From cb9fe2745be5f1017a8073c2805c33ac6b263578 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 30 Mar 2012 20:10:39 +0200 Subject: [PATCH] j2kdec: fix format strings Signed-off-by: Michael Niedermayer --- libavcodec/j2kdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c index 59ae869acf..9c2022e42d 100644 --- a/libavcodec/j2kdec.c +++ b/libavcodec/j2kdec.c @@ -925,7 +925,7 @@ static int decode_codestream(J2kDecoderContext *s) } marker = bytestream2_get_be16u(&s->g); - av_dlog(s->avctx, "marker 0x%.4X at pos 0x%tx\n", marker, bytestream2_tell(&s->g) - 4); + av_dlog(s->avctx, "marker 0x%.4X at pos 0x%x\n", marker, bytestream2_tell(&s->g) - 4); oldpos = bytestream2_tell(&s->g); if (marker == J2K_SOD){ @@ -974,7 +974,7 @@ static int decode_codestream(J2kDecoderContext *s) bytestream2_skip(&s->g, len - 2); break; default: - av_log(s->avctx, AV_LOG_ERROR, "unsupported marker 0x%.4X at pos 0x%tx\n", marker, bytestream2_tell(&s->g) - 4); + av_log(s->avctx, AV_LOG_ERROR, "unsupported marker 0x%.4X at pos 0x%x\n", marker, bytestream2_tell(&s->g) - 4); bytestream2_skip(&s->g, len - 2); break; }