Commit 542abee2 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

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=compileSigned-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 8f199cfb
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment