[FFmpeg-devel] [PATCH 6/7] avformat/evc: Fix format specifiers
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Wed Jun 5 14:40:26 EEST 2024
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 at outlook.com>
---
libavformat/evc.c | 8 ++++----
1 file 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]);
}
--
2.40.1
More information about the ffmpeg-devel
mailing list