diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 12:55:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-04-12 08:14:14 +0200 |
commit | 9d91aa23e6b91c50059f03710cd5cedf3328da8e (patch) | |
tree | da0debb2fb52b67876053f30b9ed6f2e2999b087 /configure.ac | |
parent | c2ada39fd3037a0f6180326ecb5fa5913b719326 (diff) | |
download | mpd-9d91aa23e6b91c50059f03710cd5cedf3328da8e.tar.gz mpd-9d91aa23e6b91c50059f03710cd5cedf3328da8e.tar.xz mpd-9d91aa23e6b91c50059f03710cd5cedf3328da8e.zip |
decoder/ffmpeg: drop support for pre-0.5 ffmpeg
All modern distros ship 0.5, so there's no need to support old and buggy
ffmpeg versions.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index 7ea76aa50..94369c77e 100644 --- a/configure.ac +++ b/configure.ac @@ -771,21 +771,10 @@ AM_CONDITIONAL(HAVE_FAAD, test x$enable_aac = xyes) AM_CONDITIONAL(HAVE_MP4, test x$enable_mp4 = xyes) dnl ---------------------------------- ffmpeg --------------------------------- -MPD_AUTO_PKG(ffmpeg, FFMPEG, [libavformat >= 52 libavcodec >= 51 libavutil >= 49], +MPD_AUTO_PKG(ffmpeg, FFMPEG, [libavformat >= 52.31 libavcodec >= 52.20 libavutil >= 49.15], [ffmpeg decoder library], [libavformat+libavcodec+libavutil not found]) if test x$enable_ffmpeg = xyes; then - # prior to ffmpeg svn12865, you had to specify include files - # without path prefix - old_CPPCFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS" - AC_CHECK_HEADER(libavcodec/avcodec.h,, - AC_DEFINE(OLD_FFMPEG_INCLUDES, 1, - [Define if avcodec.h instead of libavcodec/avcodec.h should be included])) - CPPCFLAGS=$old_CPPFLAGS -fi - -if test x$enable_ffmpeg = xyes; then AC_DEFINE(HAVE_FFMPEG, 1, [Define for FFMPEG support]) fi |