aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/4xm.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-03-13 12:13:33 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-22 14:08:20 +0100
commitcc8163e1a3601a56f722a4720516e860bf1c6198 (patch)
treed024d6a6300f2c013910239746ede9a97971518a /libavcodec/4xm.c
parent7513234bdd93f80593bfee3eb2da8c8f0d3992da (diff)
downloadffmpeg-cc8163e1a3601a56f722a4720516e860bf1c6198.tar.gz
avcodec: more correct printf specifiers
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r--libavcodec/4xm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 687fb895d5..3c89f1cb0c 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -24,6 +24,8 @@
* 4XM codec.
*/
+#include <inttypes.h>
+
#include "libavutil/frame.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
@@ -803,7 +805,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
}
if (buf_size < AV_RL32(buf + 4) + 8) {
- av_log(f->avctx, AV_LOG_ERROR, "size mismatch %d %d\n",
+ av_log(f->avctx, AV_LOG_ERROR, "size mismatch %d %"PRIu32"\n",
buf_size, AV_RL32(buf + 4));
return AVERROR_INVALIDDATA;
}