summaryrefslogtreecommitdiff
path: root/libavformat/iff.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-03-10 15:35:59 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-11 13:13:41 +0100
commitd92024f18fa3d69937cb2575f3a8bf973df02430 (patch)
treeb3761f3c586916a0685e125bee9b9ed95b25aa25 /libavformat/iff.c
parent7caf48e036583cd5833f5dc07ab14960dff25e04 (diff)
downloadffmpeg-d92024f18fa3d69937cb2575f3a8bf973df02430.tar.gz
lavf: more correct printf format specifiers
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r--libavformat/iff.c4
1 files changed, 3 insertions, 1 deletions
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 <inttypes.h>
+
#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;
}