[MPlayer-cvslog] r34301 - trunk/fmt-conversion.c

diego subversion at mplayerhq.hu
Fri Nov 4 16:22:51 CET 2011


Author: diego
Date: Fri Nov  4 16:22:51 2011
New Revision: 34301

Log:
fmt_conversion: surround PIX_FMT_GBR24P by #ifdefs to ensure availability

Modified:
   trunk/fmt-conversion.c

Modified: trunk/fmt-conversion.c
==============================================================================
--- trunk/fmt-conversion.c	Fri Nov  4 15:29:33 2011	(r34300)
+++ trunk/fmt-conversion.c	Fri Nov  4 16:22:51 2011	(r34301)
@@ -57,7 +57,9 @@ static const struct {
     {IMGFMT_RGB8,    PIX_FMT_BGR8},
     {IMGFMT_RGB4,    PIX_FMT_BGR4},
     {IMGFMT_BGR8,    PIX_FMT_PAL8},
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 20, 1)
     {IMGFMT_GBR24P,  PIX_FMT_GBR24P},
+#endif
     {IMGFMT_YUY2,    PIX_FMT_YUYV422},
     {IMGFMT_UYVY,    PIX_FMT_UYVY422},
     {IMGFMT_NV12,    PIX_FMT_NV12},


More information about the MPlayer-cvslog mailing list