Commit 168a83f7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Add version guards on avutil for AV_PIX_FMT_GBRP

parent 1ab751e4
...@@ -133,7 +133,9 @@ static const struct ...@@ -133,7 +133,9 @@ static const struct
/* Paletized RGB */ /* Paletized RGB */
{VLC_CODEC_RGBP, PIX_FMT_PAL8, 0, 0, 0}, {VLC_CODEC_RGBP, PIX_FMT_PAL8, 0, 0, 0},
#if LIBAVUTIL_VERSION_CHECK(51, 42, 0, 74,100)
{VLC_CODEC_GBR_PLANAR, AV_PIX_FMT_GBRP, 0, 0, 0 }, {VLC_CODEC_GBR_PLANAR, AV_PIX_FMT_GBRP, 0, 0, 0 },
#endif
/* XYZ */ /* XYZ */
#if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100) #if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100)
......
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