[xcode] Align how ffmpeg API checks are done

This commit is contained in:
ejurgensen
2022-10-22 16:35:01 +02:00
parent 4ff850cd3d
commit 684f55f603
3 changed files with 30 additions and 28 deletions

View File

@@ -240,12 +240,6 @@ OWNTONE_MODULES_CHECK([OWNTONE], [LIBAV],
[libavformat/avformat.h])
])
AS_IF([test "$is_ffmpeg" = "yes"],
[PKG_CHECK_EXISTS([libavcodec >= 59.24.100],
[AC_DEFINE([HAVE_FFMPEG_CH_LAYOUT], 1,
[Define to 1 if ffmpeg-libavcodec defines new 5.1.x ch_layout])])]
)
AC_CHECK_SIZEOF([void *])
dnl --- Begin configuring the options ---