mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
dump: Use correct printf conversion specifiers for POSIX int types
This commit is contained in:
parent
4f8cf0dc4e
commit
59ca29a560
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user