vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Tue Nov 5 22:32:26 2013 +0200| [98825391dc185111ea6f8751884c1c6a9f39a85c] | committer: Rémi Denis-Courmont
avcodec: add ARGB mapping Also remove bogus RGBA masks. Masks are only used for RGB formats - the VLC chromas without implicitly fixed masks. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=98825391dc185111ea6f8751884c1c6a9f39a85c --- modules/codec/avcodec/chroma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c index 4dc18a1..e1d6eef 100644 --- a/modules/codec/avcodec/chroma.c +++ b/modules/codec/avcodec/chroma.c @@ -115,7 +115,8 @@ 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 ) - {VLC_CODEC_RGBA, PIX_FMT_RGBA, 0xff000000, 0x00ff0000, 0x0000ff00}, + {VLC_CODEC_RGBA, PIX_FMT_RGBA, 0, 0, 0 }, + {VLC_CODEC_ARGB, PIX_FMT_ARGB, 0, 0, 0 }, {VLC_CODEC_GREY, PIX_FMT_GRAY8, 0, 0, 0}, /* Paletized RGB */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
