From c23388a92310654a5547f66452981445182ef962 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 22 Jul 2010 22:07:18 +0200 Subject: [PATCH] avcodec: Allow usage of VLC_CODEC_RGBA MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PIX_FMT_RGBA is not a define, but an enum member. Signed-off-by: Rémi Denis-Courmont --- modules/codec/avcodec/chroma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c index 4c198f666c..8418e782a0 100644 --- a/modules/codec/avcodec/chroma.c +++ b/modules/codec/avcodec/chroma.c @@ -99,9 +99,7 @@ static const struct VLC_RGB( VLC_CODEC_RGB32, PIX_FMT_RGB32, PIX_FMT_BGR32, 0x00ff0000, 0x0000ff00, 0x000000ff ) VLC_RGB( VLC_CODEC_RGB32, PIX_FMT_RGB32_1, PIX_FMT_BGR32_1, 0xff000000, 0x00ff0000, 0x0000ff00 ) -#if defined(PIX_FMT_RGBA) {VLC_CODEC_RGBA, PIX_FMT_RGBA, 0xff000000, 0x00ff0000, 0x0000ff00}, -#endif {VLC_CODEC_GREY, PIX_FMT_GRAY8, 0, 0, 0}, /* Paletized RGB */ -- 2.39.2