Commit 19b9baa2 authored by Felix Abecassis's avatar Felix Abecassis

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

parent 22c80ce3
......@@ -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)
......
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