aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/videotoolbox.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-06-01 10:56:19 -0300
committerJames Almer <jamrial@gmail.com>2024-06-01 10:56:19 -0300
commit7e182a8d92f8873778f4cfa60257510d425cbbd2 (patch)
treef6fb6f2c2d389372502966a3903f24de7fffeb79 /libavcodec/videotoolbox.c
parent0a949aacaedb7c3a503028c4c1a1067162483073 (diff)
downloadffmpeg-7e182a8d92f8873778f4cfa60257510d425cbbd2.tar.gz
avcodec/videotoolbox: use the correct HEVCSPS field name
Fixes compilation that was broken in 6fed1841a1f5dd3cdcf343f77925af0781ebe83a. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/videotoolbox.c')
-rw-r--r--libavcodec/videotoolbox.c2
1 files changed, 1 insertions, 1 deletions
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; */