From d92024f18fa3d69937cb2575f3a8bf973df02430 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 10 Mar 2014 15:35:59 +0100 Subject: lavf: more correct printf format specifiers --- libavformat/iff.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat/iff.c') diff --git a/libavformat/iff.c b/libavformat/iff.c index 79f5f16050..6be0fb72ee 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -29,6 +29,8 @@ * http://wiki.multimedia.cx/index.php?title=IFF */ +#include + #include "libavutil/channel_layout.h" #include "libavutil/intreadwrite.h" #include "libavutil/dict.h" @@ -167,7 +169,7 @@ static int iff_read_header(AVFormatContext *s) case ID_CMAP: if (data_size < 3 || data_size > 768 || data_size % 3) { - av_log(s, AV_LOG_ERROR, "Invalid CMAP chunk size %d\n", + av_log(s, AV_LOG_ERROR, "Invalid CMAP chunk size %"PRIu32"\n", data_size); return AVERROR_INVALIDDATA; } -- cgit v1.2.3