Opened 3 months ago

#11042 new defect

MacOS videotoolbox compile broken by recent commit

Reported by: Vargol Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: hevc_videotoolbox
Cc: Vargol Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.