[vlc-commits] yuv_rgb: bail out if input/output orientation does not match

Felix Abecassis git at videolan.org
Fri Sep 12 19:55:13 CEST 2014


vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Sep 12 19:40:54 2014 +0200| [19b9baa2b03af847ab0afc91e78c3ccd3e538cb4] | committer: Felix Abecassis

yuv_rgb: bail out if input/output orientation does not match

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19b9baa2b03af847ab0afc91e78c3ccd3e538cb4
---

 modules/arm_neon/yuv_rgb.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/arm_neon/yuv_rgb.c b/modules/arm_neon/yuv_rgb.c
index 44961ca..29f6a09 100644
--- a/modules/arm_neon/yuv_rgb.c
+++ b/modules/arm_neon/yuv_rgb.c
@@ -139,7 +139,8 @@ static int Open (vlc_object_t *obj)
 
     if (((filter->fmt_in.video.i_width | filter->fmt_in.video.i_height) & 1)
      || (filter->fmt_in.video.i_width != filter->fmt_out.video.i_width)
-     || (filter->fmt_in.video.i_height != filter->fmt_out.video.i_height))
+     || (filter->fmt_in.video.i_height != filter->fmt_out.video.i_height)
+     || (filter->fmt_in.video.orientation != filter->fmt_out.video.orientation))
         return VLC_EGENERIC;
 
     switch (filter->fmt_out.video.i_chroma)



More information about the vlc-commits mailing list