diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-23 13:39:47 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-09 11:52:57 -0500 |
commit | af68a2baae6761044cbed95575e8bcfebf55c6f1 (patch) | |
tree | 3f6b00cf4029adef9a3a6141dc232fe33853646d /libavformat/au.c | |
parent | 47d029a4c1b9cd203d65abcb597d5b0209cae4f8 (diff) | |
download | ffmpeg-af68a2baae6761044cbed95575e8bcfebf55c6f1.tar.gz |
au: use %u when printing id and channels since they are unsigned
Diffstat (limited to 'libavformat/au.c')
-rw-r--r-- | libavformat/au.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/au.c b/libavformat/au.c index 27feef7e39..fa2e0c4513 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -89,7 +89,7 @@ static int au_read_header(AVFormatContext *s) codec = ff_codec_get_id(codec_au_tags, id); if (codec == AV_CODEC_ID_NONE) { - av_log_ask_for_sample(s, "unknown or unsupported codec tag: %d\n", id); + av_log_ask_for_sample(s, "unknown or unsupported codec tag: %u\n", id); return AVERROR_PATCHWELCOME; } @@ -100,7 +100,7 @@ static int au_read_header(AVFormatContext *s) } if (channels == 0 || channels >= INT_MAX / (BLOCK_SIZE * bps >> 3)) { - av_log(s, AV_LOG_ERROR, "Invalid number of channels %d\n", channels); + av_log(s, AV_LOG_ERROR, "Invalid number of channels %u\n", channels); return AVERROR_INVALIDDATA; } |