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>
pull/3/head
Jean First 13 years ago committed by Michael Niedermayer
parent 157f29f9a6
commit b103156235
  1. 2
      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){

Loading…
Cancel
Save