From 7e182a8d92f8873778f4cfa60257510d425cbbd2 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 1 Jun 2024 10:56:19 -0300 Subject: [PATCH] avcodec/videotoolbox: use the correct HEVCSPS field name Fixes compilation that was broken in 6fed1841a1f5dd3cdcf343f77925af0781ebe83a. Signed-off-by: James Almer --- libavcodec/videotoolbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index d6990a39c0..0e3dfb934c 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -349,7 +349,7 @@ CFDataRef ff_videotoolbox_hvcc_extradata_create(AVCodecContext *avctx) */ AV_W8(p + 21, 0 << 6 | sps->max_sub_layers << 3 | - sps->temporal_id_nesting_flag << 2 | + sps->temporal_id_nesting << 2 | 3); /* unsigned int(8) numOfArrays; */