Add VLC_FOURCC('R','G','B','A') to modules/codec/ffmpeg/video.c
authorJean-Paul Saman <jpsaman@videolan.org>
Thu, 18 Oct 2007 22:09:39 +0000 (22:09 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 18 Oct 2007 22:09:39 +0000 (22:09 +0000)
modules/codec/ffmpeg/video.c

index afa4b21..ffae3e6 100644 (file)
@@ -126,6 +126,8 @@ static uint32_t ffmpeg_PixFmtToChroma( int i_ff_chroma )
         return VLC_FOURCC('R','V','2','4');
     case PIX_FMT_RGBA32:
         return VLC_FOURCC('R','V','3','2');
+    case PIX_FMT_RGBA:
+        return VLC_FOURCC('R','G','B','A');
     case PIX_FMT_GRAY8:
         return VLC_FOURCC('G','R','E','Y');