mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/videotoolboxenc: #define TARGET_CPU_ARM64 to 0 if not provided by the SDK
Fixes build failure on older SDKs without it. Fixes #9242 Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
This commit is contained in:
parent
3e44bd068f
commit
f9eb440e78
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ enum { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' };
|
||||||
enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' };
|
enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef TARGET_CPU_ARM64
|
||||||
|
# define TARGET_CPU_ARM64 0
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
|
typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
|
||||||
size_t parameterSetIndex,
|
size_t parameterSetIndex,
|
||||||
const uint8_t **parameterSetPointerOut,
|
const uint8_t **parameterSetPointerOut,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue