Commit 19181d3c authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

ffmpeg also supports RGBA in little and big endian.

parent e1ffc744
......@@ -2,7 +2,7 @@
* ffmpeg.c: video decoder using ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 the VideoLAN team
* $Id$
* $Id: 7bacb2eec7f29bf73a418bf3391171df854b78cb $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@videolan.org>
......@@ -464,6 +464,11 @@ 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 },
#ifdef WORDS_BIGENDIAN
{ VLC_FOURCC('R','G','B','A'), PIX_FMT_RGB32_1 },
#else
{ VLC_FOURCC('R','G','B','A'), PIX_FMT_BGR32 },
#endif
{ VLC_FOURCC('G','R','E','Y'), PIX_FMT_GRAY8 },
{0}
......
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