aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-29 00:40:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-29 00:41:00 +0200
commit60831f441db8f18b619613f6dd942e3091687496 (patch)
treec23fbc910d0a5e5d1159253c1ef551ca12070918
parenta91c5ed008740fabdb910a59db9e5792b6574486 (diff)
parent59ca29a560ba0cfe97457de8cedf77db434f0de4 (diff)
downloadffmpeg-60831f441db8f18b619613f6dd942e3091687496.tar.gz
Merge commit '59ca29a560ba0cfe97457de8cedf77db434f0de4'
* commit '59ca29a560ba0cfe97457de8cedf77db434f0de4': dump: Use correct printf conversion specifiers for POSIX int types Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c
index 8beabce599..b87379a9e1 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -171,7 +171,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)
@@ -188,7 +188,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)
@@ -199,7 +199,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;