diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 22:31:46 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 15:49:29 +0300 |
commit | 549045254c4614d5d61b5c36e340171a6914d57c (patch) | |
tree | 0d2d80d1ca0c3de65f45da198e8ab09921da7fe4 /libavcodec/iff.c | |
parent | 1473afac5d11a0a90810b6cd8107d63640c9fd38 (diff) |
Fix all -Wformat warnings raised by DJGPP
Diffstat (limited to 'libavcodec/iff.c')
-rw-r--r-- | libavcodec/iff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/iff.c b/libavcodec/iff.c index 995e908791..075ada6ddd 100644 --- a/libavcodec/iff.c +++ b/libavcodec/iff.c @@ -934,7 +934,7 @@ static void decode_delta_j(uint8_t *dst, offset = bytestream2_get_be16(&gb); if (cols * bpp == 0 || bytestream2_get_bytes_left(&gb) < cols * bpp) { - av_log(NULL, AV_LOG_ERROR, "cols*bpp is invalid (%d*%d)", cols, bpp); + av_log(NULL, AV_LOG_ERROR, "cols*bpp is invalid (%"PRId32"*%d)", cols, bpp); return; } @@ -982,7 +982,7 @@ static void decode_delta_j(uint8_t *dst, unsigned noffset = offset + (r * pitch) + d * planepitch; if (!bytes || bytestream2_get_bytes_left(&gb) < bytes) { - av_log(NULL, AV_LOG_ERROR, "bytes %d is invalid", bytes); + av_log(NULL, AV_LOG_ERROR, "bytes %"PRId32" is invalid", bytes); return; } |