Opened 5 months ago

Last modified 5 months ago

#10690 new defect

FFmpeg 6.1 - compile error - function is only available on iOS 11.0 or newer

Reported by: Pavel Owned by:
Priority: important Component: ffmpeg
Version: Keywords:
Cc: aeiouaeiouaeiouaeiouaeiouaeiou Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Compilation FFmpeg 6.1 for iOS finish with:

src/libavcodec/videotoolboxenc.c:1163:18: error: 'VTCopySupportedPropertyDictionaryForEncoder' is only available on iOS 11.0 or newer [-Werror,-Wunguarded-availability-new]

status = VTCopySupportedPropertyDictionaryForEncoder(avctx->width,

src/libavcodec/videotoolboxenc.c:1181:40: error: 'kVTCompressionPropertyKey_EncoderID' is only available on iOS 11.0 or newer [-Werror,-Wunguarded-availability-new]

kVTCompressionPropertyKey_EncoderID,

Change History (2)

comment:1 by aeiouaeiouaeiouaeiouaeiouaeiou, 5 months ago

Cc: aeiouaeiouaeiouaeiouaeiouaeiou added

comment:2 by aeiouaeiouaeiouaeiouaeiouaeiou, 5 months ago

It's happening on macOS as well: https://trac.ffmpeg.org/ticket/10695

Note: See TracTickets for help on using tickets.