aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/j2kdec.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-09-25 12:34:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-28 16:11:01 +0200
commit6d98e2db35d22ed50a2195da23eda13baff491b5 (patch)
tree3204dfc42211d3f523632ffb102b3cd928dcba73 /libavcodec/j2kdec.c
parent7393b41744a91677283f4e217f3ebe3a399182ab (diff)
downloadffmpeg-6d98e2db35d22ed50a2195da23eda13baff491b5.tar.gz
j2kdec: use correct printf format.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/j2kdec.c')
-rw-r--r--libavcodec/j2kdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c
index 998752be1c..4c1f6546eb 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){