aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-05 13:26:37 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-09 10:59:33 +0200
commit542abee213bfda1615a7588f12bbdc0517931a51 (patch)
treef425db69c694dab6532d3e4cdac15521bd4cb60c
parent8f199cfb5bb61bc88ec77b9bcaf70385ae99a519 (diff)
downloadffmpeg-542abee213bfda1615a7588f12bbdc0517931a51.tar.gz
avcodec/cbs_h266_syntax_template: Use correct format specifier
H266RawSliceHeader.num_entry_points is an uint32_t. Fixes -Wformat warnings: 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--libavcodec/cbs_h266_syntax_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c
index 38685704c5..53c4b60b0d 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/libavcodec/cbs_h266_syntax_template.c
@@ -3426,7 +3426,7 @@ static int FUNC(slice_header) (CodedBitstreamContext *ctx, RWContext *rw,
current->num_entry_points--;
if (current->num_entry_points > VVC_MAX_ENTRY_POINTS) {
av_log(ctx->log_ctx, AV_LOG_ERROR, "Too many entry points: "
- "%" PRIu16 ".\n", current->num_entry_points);
+ "%" PRIu32 ".\n", current->num_entry_points);
return AVERROR_PATCHWELCOME;
}
if (current->num_entry_points > 0) {