mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 05:03:17 -05:00
Revert special ffmpeg linker handling - not required any more
- ref https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758337#11
This commit is contained in:
parent
f24ab29098
commit
61a4da215c
@ -158,15 +158,11 @@ fi
|
||||
|
||||
PKG_CHECK_MODULES(LIBAV, [ libavformat libavcodec libswscale libavutil $libxxresample ])
|
||||
|
||||
dnl For ffmpeg compability
|
||||
_PKG_CONFIG([lname], [libs-only-l], [libavcodec])
|
||||
avc_name=`echo $pkg_cv_lname | sed 's/-l//'`
|
||||
|
||||
save_LIBS="$LIBS"
|
||||
dnl Check for av_lock_manager (ffmpeg >= 0.5.1)
|
||||
AC_CHECK_LIB([$avc_name], [av_lockmgr_register], , AC_MSG_ERROR([libav (ffmpeg) >= 0.5.1 required]))
|
||||
AC_CHECK_LIB([avcodec], [av_lockmgr_register], , AC_MSG_ERROR([libav (ffmpeg) >= 0.5.1 required]))
|
||||
dnl Check for avcodec_find_best_pix_fmt_of_list (is only in ffmpeg, not libav)
|
||||
AC_CHECK_LIB([$avc_name], [avcodec_find_best_pix_fmt_of_list],
|
||||
AC_CHECK_LIB([avcodec], [avcodec_find_best_pix_fmt_of_list],
|
||||
AC_DEFINE(FFMPEG_INCOMPATIBLE_API, 1, [Define to 1 if you have ffmpeg (and not libav).]))
|
||||
LIBS="$save_LIBS"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user