mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-02 13:24:20 +08:00
Adjust printf conversion specifiers to match variable signedness
This commit is contained in:
@@ -247,7 +247,7 @@ parse_packed_headers(AVFormatContext *s,
|
||||
|
||||
if (num_packed != 1 || num_headers > 3) {
|
||||
av_log(s, AV_LOG_ERROR,
|
||||
"Unimplemented number of headers: %d packed headers, %d headers\n",
|
||||
"Unimplemented number of headers: %u packed headers, %u headers\n",
|
||||
num_packed, num_headers);
|
||||
return AVERROR_PATCHWELCOME;
|
||||
}
|
||||
@@ -255,7 +255,7 @@ parse_packed_headers(AVFormatContext *s,
|
||||
if (packed_headers_end - packed_headers != length ||
|
||||
length1 > length || length2 > length - length1) {
|
||||
av_log(s, AV_LOG_ERROR,
|
||||
"Bad packed header lengths (%d,%d,%td,%d)\n", length1,
|
||||
"Bad packed header lengths (%u,%u,%td,%u)\n", length1,
|
||||
length2, packed_headers_end - packed_headers, length);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user