summaryrefslogtreecommitdiffstats
path: root/libavcodec/bmp.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 21:31:46 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:49:29 +0200
commit549045254c4614d5d61b5c36e340171a6914d57c (patch)
tree0d2d80d1ca0c3de65f45da198e8ab09921da7fe4 /libavcodec/bmp.c
parent1473afac5d11a0a90810b6cd8107d63640c9fd38 (diff)
downloadffmpeg-streaming-549045254c4614d5d61b5c36e340171a6914d57c.zip
ffmpeg-streaming-549045254c4614d5d61b5c36e340171a6914d57c.tar.gz
Fix all -Wformat warnings raised by DJGPP
Diffstat (limited to 'libavcodec/bmp.c')
-rw-r--r--libavcodec/bmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c
index d462385..1308ec0 100644
--- a/libavcodec/bmp.c
+++ b/libavcodec/bmp.c
@@ -149,7 +149,8 @@ static int bmp_decode_frame(AVCodecContext *avctx,
else if (rgb[0] == 0x000000FF && rgb[1] == 0x0000FF00 && rgb[2] == 0x00FF0000)
avctx->pix_fmt = alpha ? AV_PIX_FMT_RGBA : AV_PIX_FMT_RGB0;
else {
- av_log(avctx, AV_LOG_ERROR, "Unknown bitfields %0X %0X %0X\n", rgb[0], rgb[1], rgb[2]);
+ av_log(avctx, AV_LOG_ERROR, "Unknown bitfields "
+ "%0"PRIX32" %0"PRIX32" %0"PRIX32"\n", rgb[0], rgb[1], rgb[2]);
return AVERROR(EINVAL);
}
} else {
OpenPOWER on IntegriCloud