Opened 3 years ago

Closed 2 years ago

#10695 closed defect (fixed)

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: yes

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 (1)

comment:1 by ePirat, 2 years ago

Analyzed by developer: set
Resolution: → fixed
Status: new → closed

Fixed since FFmpeg 7.0 (by cb049d377f54f6b747667a93e4b719380c3e9475)

Note: See TracTickets for help on using tickets.