Commit 5221a770 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

neon yuv->rgb : check RGBA order/endianess

We only support ABGR
(cherry picked from commit 99bf74390c5a44d0a9199881c7ddee752c613d5e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 617106df
......@@ -133,6 +133,11 @@ static int Open (vlc_object_t *obj)
switch (filter->fmt_out.video.i_chroma)
{
case VLC_CODEC_RGB32:
if( filter->fmt_out.video.i_rmask != 0x000000ff
|| filter->fmt_out.video.i_gmask != 0x0000ff00
|| filter->fmt_out.video.i_bmask != 0x00ff0000 )
return VLC_EGENERIC;
switch (filter->fmt_in.video.i_chroma)
{
case VLC_CODEC_I420:
......
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