Commit faa89b54 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Configure: allow older versions for libavcodec

parent f6d0b13a
...@@ -2219,7 +2219,7 @@ dnl ...@@ -2219,7 +2219,7 @@ dnl
AC_ARG_ENABLE(avcodec, AC_ARG_ENABLE(avcodec,
[ --enable-avcodec libavcodec codec (default enabled)]) [ --enable-avcodec libavcodec codec (default enabled)])
AS_IF([test "${enable_avcodec}" != "no"], [ AS_IF([test "${enable_avcodec}" != "no"], [
PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 54.25.0 libavutil >= 51.22.0], [ PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 53.34.0 libavutil >= 51.22.0], [
AS_IF([test "${enable_sout}" != "no"], [ AS_IF([test "${enable_sout}" != "no"], [
PKG_CHECK_EXISTS([libavcodec < 55],, [ PKG_CHECK_EXISTS([libavcodec < 55],, [
AC_MSG_ERROR([libavcodec version 55 requires --disable-sout.]) AC_MSG_ERROR([libavcodec version 55 requires --disable-sout.])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment