[FFmpeg-cvslog] avutil/hwcontext_videotoolbox: Fix build with older SDKs

2024-08-01 Thread Marvin Scholz
ffmpeg | branch: master | Marvin Scholz | Tue Jul 23 11:10:44 2024 +0200| [ca7fcf50891997eb95b4bf6d5cd4e2446e8c8631] | committer: Zhao Zhili avutil/hwcontext_videotoolbox: Fix build with older SDKs The previous fix was not sufficient. To make things easier to reason about, split the function a

[FFmpeg-cvslog] avutil/hwcontext_videotoolbox: Fix build with older SDKs

2024-07-16 Thread Marvin Scholz
ffmpeg | branch: master | Marvin Scholz | Tue Jul 9 16:46:47 2024 +0200| [2fc37c42391a38bfe0aea248f2fe75c9033f98e5] | committer: Zhao Zhili avutil/hwcontext_videotoolbox: Fix build with older SDKs I've accidentally used API not available on the checked version. Additionally check for the SDK