From cc8163e1a3601a56f722a4720516e860bf1c6198 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 13 Mar 2014 12:13:33 +0100 Subject: avcodec: more correct printf specifiers --- libavcodec/4xm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/4xm.c') 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 + #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; } -- cgit v1.2.3