ffmpeg: Don't break on MacOS

While AMF is not really available on MacOS, we still shouldn't just fail to compile because of it. Might as well do the test and if it doesn't work out, then we still behave the same as before.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-09-30 06:56:55 +02:00 committed by Xaymar
parent 915c85e60e
commit df70723884
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ bool streamfx::encoder::ffmpeg::amf::is_available()
#else
std::filesystem::path lib_name = std::filesystem::u8path("amfrt32.dll");
#endif
#elif defined(D_PLATFORM_LINUX)
#else
#if defined(D_PLATFORM_64BIT)
std::filesystem::path lib_name = std::filesystem::u8path("libamfrt64.so.1");
#else