aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2022-09-02 22:54:23 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2022-10-23 20:45:25 +0200
commitfc410ce572bdbb8553acfd1d72cbcfeb4e63c09c (patch)
tree3340945c1ced4d1c197d66dcd1799cae7056527e /libavformat
parent65f96a965af415300f7533c75940eeae4e3a2287 (diff)
downloadffmpeg-fc410ce572bdbb8553acfd1d72cbcfeb4e63c09c.tar.gz
lavf/hevc: Fix type specifiers, missed in 8b5d1553
Fixes several warnings with msvc: warning: format specifies type 'unsigned char' but the argument has type 'unsigned int'
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hevc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/hevc.c b/libavformat/hevc.c
index 1841dd5785..ca5187a92e 100644
--- a/libavformat/hevc.c
+++ b/libavformat/hevc.c
@@ -848,15 +848,15 @@ static int hvcc_write(AVIOContext *pb, HEVCDecoderConfigurationRecord *hvcc)
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",
j, 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",
j, array->NAL_unit_type);
- av_log(NULL, AV_LOG_TRACE, "numNalus[%"PRIu8"]: %"PRIu16"\n",
+ av_log(NULL, AV_LOG_TRACE, "numNalus[%u]: %"PRIu16"\n",
j, array->numNalus);
for (unsigned k = 0; k < array->numNalus; k++)
av_log(NULL, AV_LOG_TRACE,
- "nalUnitLength[%"PRIu8"][%"PRIu16"]: %"PRIu16"\n",
+ "nalUnitLength[%u][%u]: %"PRIu16"\n",
j, k, array->nalUnitLength[k]);
j++;
}