Opened 5 months ago

#10695 new defect

error: use of undeclared identifier 'kVTCompressionPropertyKey_EncoderID' when targeting macOS < 10.13

Reported by: aeiouaeiouaeiouaeiouaeiouaeiou Owned by:
Priority: important Component: ffmpeg
Version: git-master Keywords: macos ffmpeg
Cc: aeiouaeiouaeiouaeiouaeiouaeiou Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

First report: https://trac.macports.org/ticket/68720
Similar issue: https://trac.ffmpeg.org/ticket/10690

This regression was introduced in these two commits:
https://github.com/FFmpeg/FFmpeg/commit/5c635b7d8c7c4a7fe0c93b5b3cefff3c72bff237
https://github.com/FFmpeg/FFmpeg/commit/213cba9696c1525d5022d8c3597bddb6fab15379

Both contain methods that introduced in High Sierra and are not guarded correctly, regardless of the use of macros from Availability.h.

Change History (0)

Note: See TracTickets for help on using tickets.