[FFmpeg-trac] #11042(avcodec:new): MacOS videotoolbox compile broken by recent commit
FFmpeg
trac at avcodec.org
Sat Jun 1 13:37:04 EEST 2024
#11042: MacOS videotoolbox compile broken by recent commit
-------------------------------------+-------------------------------------
Reporter: Vargol | Type: defect
Status: new | Priority: important
Component: avcodec | Version: git-
Keywords: | master
hevc_videotoolbox | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
commit
[https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/6fed1841a1f5dd3cdcf343f77925af0781ebe83a]
has broken the compilation of ffmpeg from HEAD on MacOS when videotoolbox
is enabled.
{{{
libavcodec/videotoolbox.c:352:24: error: no member named
'temporal_id_nesting_flag' in 'struct HEVCSPS'; did you mean
'temporal_id_nesting'?
sps->temporal_id_nesting_flag << 2 |
^~~~~~~~~~~~~~~~~~~~~~~~
temporal_id_nesting
libavcodec/videotoolbox.c:156:29: note: expanded from macro 'AV_W8'
#define AV_W8(p, v) *(p) = (v)
^
libavcodec/hevc_ps.h:249:13: note: 'temporal_id_nesting' declared here
uint8_t temporal_id_nesting;
^
CC libavcodec/vmixdec.o
1 error generated.
}}}
How to reproduce:
build ffmeg on MacOS from git with the --enable-videotoolbox
I'm using my own script [https://github.com/Vargol/ffmpeg-apple-
arm64-build] with
{{{
BUILD_FROM_MAIN=TRUE
}}}
in build.sh
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11042>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list