diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 21:31:46 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 14:49:29 +0200 |
commit | 549045254c4614d5d61b5c36e340171a6914d57c (patch) | |
tree | 0d2d80d1ca0c3de65f45da198e8ab09921da7fe4 /libavformat/aadec.c | |
parent | 1473afac5d11a0a90810b6cd8107d63640c9fd38 (diff) | |
download | ffmpeg-549045254c4614d5d61b5c36e340171a6914d57c.tar.gz |
Fix all -Wformat warnings raised by DJGPP
Diffstat (limited to 'libavformat/aadec.c')
-rw-r--r-- | libavformat/aadec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/aadec.c b/libavformat/aadec.c index 39dea40b80..8d39b1d9ba 100644 --- a/libavformat/aadec.c +++ b/libavformat/aadec.c @@ -112,7 +112,8 @@ static int aa_read_header(AVFormatContext *s) header_seed = atoi(val); } else if (!strcmp(key, "HeaderKey")) { // this looks like "1234567890 1234567890 1234567890 1234567890" av_log(s, AV_LOG_DEBUG, "HeaderKey is <%s>\n", val); - sscanf(val, "%u%u%u%u", &header_key_part[0], &header_key_part[1], &header_key_part[2], &header_key_part[3]); + sscanf(val, "%"SCNu32"%"SCNu32"%"SCNu32"%"SCNu32, + &header_key_part[0], &header_key_part[1], &header_key_part[2], &header_key_part[3]); for (idx = 0; idx < 4; idx++) { AV_WB32(&header_key[idx * 4], header_key_part[idx]); // convert each part to BE! } |