mirror of https://git.ffmpeg.org/ffmpeg.git
j2kdec: fix format strings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3ebfe22d13
commit
cb9fe2745b
|
@ -925,7 +925,7 @@ static int decode_codestream(J2kDecoderContext *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
marker = bytestream2_get_be16u(&s->g);
|
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);
|
oldpos = bytestream2_tell(&s->g);
|
||||||
|
|
||||||
if (marker == J2K_SOD){
|
if (marker == J2K_SOD){
|
||||||
|
@ -974,7 +974,7 @@ static int decode_codestream(J2kDecoderContext *s)
|
||||||
bytestream2_skip(&s->g, len - 2);
|
bytestream2_skip(&s->g, len - 2);
|
||||||
break;
|
break;
|
||||||
default:
|
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);
|
bytestream2_skip(&s->g, len - 2);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue