diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 21:31:46 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 14:49:29 +0200 |
commit | 549045254c4614d5d61b5c36e340171a6914d57c (patch) | |
tree | 0d2d80d1ca0c3de65f45da198e8ab09921da7fe4 /libavcodec/pixlet.c | |
parent | 1473afac5d11a0a90810b6cd8107d63640c9fd38 (diff) | |
download | ffmpeg-549045254c4614d5d61b5c36e340171a6914d57c.tar.gz |
Fix all -Wformat warnings raised by DJGPP
Diffstat (limited to 'libavcodec/pixlet.c')
-rw-r--r-- | libavcodec/pixlet.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/pixlet.c b/libavcodec/pixlet.c index 1d4734d397..4aa59f8f33 100644 --- a/libavcodec/pixlet.c +++ b/libavcodec/pixlet.c @@ -324,7 +324,8 @@ static int read_highpass(AVCodecContext *avctx, uint8_t *ptr, int plane, AVFrame magic = bytestream2_get_be32(&ctx->gb); if (magic != 0xDEADBEEF) { - av_log(avctx, AV_LOG_ERROR, "wrong magic number: 0x%08X for plane %d, band %d\n", magic, plane, i); + av_log(avctx, AV_LOG_ERROR, "wrong magic number: 0x%08"PRIX32 + " for plane %d, band %d\n", magic, plane, i); return AVERROR_INVALIDDATA; } @@ -575,7 +576,7 @@ static int pixlet_decode_frame(AVCodecContext *avctx, void *data, pktsize = bytestream2_get_be32(&ctx->gb); if (pktsize <= 44 || pktsize - 4 > bytestream2_get_bytes_left(&ctx->gb)) { - av_log(avctx, AV_LOG_ERROR, "Invalid packet size %u.\n", pktsize); + av_log(avctx, AV_LOG_ERROR, "Invalid packet size %"PRIu32"\n", pktsize); return AVERROR_INVALIDDATA; } |