[FFmpeg-cvslog] avcodec/videotoolbox: use the correct HEVCSPS field name
James Almer
git at videolan.org
Sat Jun 1 16:58:06 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Jun 1 10:56:19 2024 -0300| [7e182a8d92f8873778f4cfa60257510d425cbbd2] | committer: James Almer
avcodec/videotoolbox: use the correct HEVCSPS field name
Fixes compilation that was broken in 6fed1841a1f5dd3cdcf343f77925af0781ebe83a.
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e182a8d92f8873778f4cfa60257510d425cbbd2
---
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; */
More information about the ffmpeg-cvslog
mailing list