j2kdec: use correct printf format.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Nicolas George 2011-09-25 12:34:05 +02:00 committed by Michael Niedermayer
parent 7393b41744
commit 6d98e2db35

View File

@ -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){