[vlc-commits] yuv_rgb: bail out if input/output orientation does not match
Felix Abecassis
git at videolan.org
Wed Sep 17 07:42:56 CEST 2014
vlc/vlc-2.2 | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Sep 12 19:40:54 2014 +0200| [65ae93ceab1746aa17ff19b7732d1b726459b64a] | committer: Jean-Baptiste Kempf
yuv_rgb: bail out if input/output orientation does not match
(cherry picked from commit 19b9baa2b03af847ab0afc91e78c3ccd3e538cb4)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=65ae93ceab1746aa17ff19b7732d1b726459b64a
---
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