mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
8f199cfb5b
commit
542abee213
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue