Fix all -Wformat warnings raised by DJGPP
This commit is contained in:
@@ -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!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user