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

Avcodec: require avutil 49.5.0

parent 7676c7b7
...@@ -2306,7 +2306,7 @@ dnl ...@@ -2306,7 +2306,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 >= 52.25.0 libavutil], PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 52.25.0 libavutil >= 49.5.0],
[ [
VLC_SAVE_FLAGS VLC_SAVE_FLAGS
CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}" CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
......
...@@ -64,10 +64,8 @@ static const struct ...@@ -64,10 +64,8 @@ static const struct
{VLC_CODEC_I444, PIX_FMT_YUV444P, 0, 0, 0 }, {VLC_CODEC_I444, PIX_FMT_YUV444P, 0, 0, 0 },
{VLC_CODEC_J444, PIX_FMT_YUVJ444P, 0, 0, 0 }, {VLC_CODEC_J444, PIX_FMT_YUVJ444P, 0, 0, 0 },
#if LIBAVUTIL_VERSION_INT >= ((49<<16)+(5<<8)+0)
{VLC_CODEC_I440, PIX_FMT_YUV440P, 0, 0, 0 }, {VLC_CODEC_I440, PIX_FMT_YUV440P, 0, 0, 0 },
{VLC_CODEC_J440, PIX_FMT_YUVJ440P, 0, 0, 0 }, {VLC_CODEC_J440, PIX_FMT_YUVJ440P, 0, 0, 0 },
#endif
{VLC_CODEC_I422, PIX_FMT_YUV422P, 0, 0, 0 }, {VLC_CODEC_I422, PIX_FMT_YUV422P, 0, 0, 0 },
{VLC_CODEC_J422, PIX_FMT_YUVJ422P, 0, 0, 0 }, {VLC_CODEC_J422, PIX_FMT_YUVJ422P, 0, 0, 0 },
......
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