aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-26 05:11:18 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-28 13:19:04 -0700
commit59ca29a560ba0cfe97457de8cedf77db434f0de4 (patch)
treefdb6efa4a8829d0f43e2d43727d52d4d64f6dc34
parent4f8cf0dc4ef6110174056df7edd9dc2f2a988b6d (diff)
downloadffmpeg-59ca29a560ba0cfe97457de8cedf77db434f0de4.tar.gz
dump: Use correct printf conversion specifiers for POSIX int types
-rw-r--r--libavformat/dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c
index aae23afb3a..cdf2da1ca8 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -156,7 +156,7 @@ static void dump_paramchange(void *ctx, AVPacketSideData *sd)
channels = AV_RL32(data);
data += 4;
size -= 4;
- av_log(ctx, AV_LOG_INFO, "channel count %d, ", channels);
+ av_log(ctx, AV_LOG_INFO, "channel count %"PRIu32", ", channels);
}
if (flags & AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT) {
if (size < 8)
@@ -173,7 +173,7 @@ static void dump_paramchange(void *ctx, AVPacketSideData *sd)
sample_rate = AV_RL32(data);
data += 4;
size -= 4;
- av_log(ctx, AV_LOG_INFO, "sample_rate %d, ", sample_rate);
+ av_log(ctx, AV_LOG_INFO, "sample_rate %"PRIu32", ", sample_rate);
}
if (flags & AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS) {
if (size < 8)
@@ -184,7 +184,7 @@ static void dump_paramchange(void *ctx, AVPacketSideData *sd)
height = AV_RL32(data);
data += 4;
size -= 4;
- av_log(ctx, AV_LOG_INFO, "width %d height %d", width, height);
+ av_log(ctx, AV_LOG_INFO, "width %"PRIu32" height %"PRIu32, width, height);
}
return;