aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-05 13:21:45 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-09 10:59:33 +0200
commit8f199cfb5bb61bc88ec77b9bcaf70385ae99a519 (patch)
treeddaa4392ea73f54eb51043e5a8353b8d18364ce4
parent5f31a4fd1613e310c01935836170a171e36bfa02 (diff)
downloadffmpeg-8f199cfb5bb61bc88ec77b9bcaf70385ae99a519.tar.gz
avformat/evc: Fix format specifiers
Fixes -Wformat warnings; see e.g. https://fate.ffmpeg.org/log.cgi?slot=aarch64-osx-clang-1200.0.32.29&time=20240604151047&log=compile Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavformat/evc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/evc.c b/libavformat/evc.c
index 2f4c74fe51..0b72a6441e 100644
--- a/libavformat/evc.c
+++ b/libavformat/evc.c
@@ -208,15 +208,15 @@ static int evcc_write(AVIOContext *pb, EVCDecoderConfigurationRecord *evcc)
if(array->numNalus == 0)
continue;
- av_log(NULL, AV_LOG_TRACE, "array_completeness[%"PRIu8"]: %"PRIu8"\n",
+ av_log(NULL, AV_LOG_TRACE, "array_completeness[%u]: %"PRIu8"\n",
i, array->array_completeness);
- av_log(NULL, AV_LOG_TRACE, "NAL_unit_type[%"PRIu8"]: %"PRIu8"\n",
+ av_log(NULL, AV_LOG_TRACE, "NAL_unit_type[%u]: %"PRIu8"\n",
i, array->NAL_unit_type);
- av_log(NULL, AV_LOG_TRACE, "numNalus[%"PRIu8"]: %"PRIu16"\n",
+ av_log(NULL, AV_LOG_TRACE, "numNalus[%u]: %"PRIu16"\n",
i, array->numNalus);
for ( unsigned j = 0; j < array->numNalus; j++)
av_log(NULL, AV_LOG_TRACE,
- "nalUnitLength[%"PRIu8"][%"PRIu16"]: %"PRIu16"\n",
+ "nalUnitLength[%u][%u]: %"PRIu16"\n",
i, j, array->nalUnitLength[j]);
}