diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-24 18:01:30 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-24 18:01:30 +0200 |
commit | ced0d6c14d1ad717d09f6777fcf424586ca6f036 (patch) | |
tree | 00dc3197aa912800adcb3e0d402fd4e18bd90395 /libavcodec/jpeg2000dec.c | |
parent | 9cc4bc973c206ff89c923e6514ae6006d7b7c8fb (diff) | |
download | ffmpeg-ced0d6c14d1ad717d09f6777fcf424586ca6f036.tar.gz |
Use correct msvc type specifiers for ptrdiff_t and size_t.
The Windows runtime aborts if it finds %t or %z.
Fixes ticket #3472.
Reviewed-by: Ronald Bultje
Diffstat (limited to 'libavcodec/jpeg2000dec.c')
-rw-r--r-- | libavcodec/jpeg2000dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 5ae540e857..fbfb7d1e5f 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -782,7 +782,7 @@ static int jpeg2000_decode_packet(Jpeg2000DecoderContext *s, return ret; if (ret > sizeof(cblk->data)) { avpriv_request_sample(s->avctx, - "Block with lengthinc greater than %zu", + "Block with lengthinc greater than %"SIZE_SPECIFIER"", sizeof(cblk->data)); return AVERROR_PATCHWELCOME; } |