]> git.sesse.net Git - vlc/commitdiff
Add version guards on avutil for AV_PIX_FMT_GBRP
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 22 Mar 2014 11:28:37 +0000 (12:28 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 22 Mar 2014 11:28:37 +0000 (12:28 +0100)
modules/codec/avcodec/chroma.c

index 9d14c219e522f48db71c317442b461c6155ff6a7..7f067eaab416845a911aa57351813e63792b69d3 100644 (file)
@@ -133,7 +133,9 @@ static const struct
      /* Paletized RGB */
     {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 },
+#endif
 
     /* XYZ */
 #if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100)