Test for PIX_FMT_RGBA iso swscale.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 18 Nov 2007 19:28:01 +0000 (19:28 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 18 Nov 2007 19:28:01 +0000 (19:28 +0000)
modules/codec/ffmpeg/ffmpeg.c

index b08150d..3942ada 100644 (file)
@@ -488,7 +488,7 @@ static struct
     { VLC_FOURCC('R','V','1','6'), PIX_FMT_RGB565 },
     { VLC_FOURCC('R','V','2','4'), PIX_FMT_RGB24 },
     { VLC_FOURCC('R','V','3','2'), PIX_FMT_RGBA32 },
-#if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)
+#if defined(PIX_FMT_RGBA)
     { VLC_FOURCC('R','G','B','A'), PIX_FMT_RGBA },
 #endif
     { VLC_FOURCC('G','R','E','Y'), PIX_FMT_GRAY8 },