Commit 4a9e5b69 authored by Victorien Le Couviour--Tuffet's avatar Victorien Le Couviour--Tuffet Committed by Jean-Baptiste Kempf

splitter: wall: fix incorrect unecessary output condition

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent dcc1b6e2
......@@ -254,8 +254,8 @@ static int Open( vlc_object_t *p_this )
{
i_height = i_target_height;
}
else if( ( y + 1 ) * i_target_height < i_vstart ||
( y * i_target_height ) > i_vend )
else if( ( y + 1 ) * i_target_height <= i_vstart ||
( y * i_target_height ) >= i_vend )
{
i_height = 0;
}
......@@ -287,8 +287,8 @@ static int Open( vlc_object_t *p_this )
{
i_width = i_target_width;
}
else if( ( x + 1 ) * i_target_width < i_hstart ||
( x * i_target_width ) > i_hend )
else if( ( x + 1 ) * i_target_width <= i_hstart ||
( x * i_target_width ) >= i_hend )
{
i_width = 0;
}
......
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