Commit eee7930a authored by ivoire's avatar ivoire

Fix inverted logic introduced in 048e2d91

parent 8c236e34
...@@ -405,7 +405,7 @@ static bool IsValid( filter_sys_t *p_sys ) ...@@ -405,7 +405,7 @@ static bool IsValid( filter_sys_t *p_sys )
{ {
const int i_count = p_sys->i_cols * p_sys->i_rows; const int i_count = p_sys->i_cols * p_sys->i_rows;
if( p_sys->b_blackslot ) if( !p_sys->b_blackslot )
return true; return true;
int d = 0; int d = 0;
...@@ -447,7 +447,7 @@ static void Shuffle( filter_sys_t *p_sys ) ...@@ -447,7 +447,7 @@ static void Shuffle( filter_sys_t *p_sys )
} }
p_sys->b_finished = IsFinished( p_sys ); p_sys->b_finished = IsFinished( p_sys );
} while( p_sys->b_finished || IsValid( p_sys ) ); } while( p_sys->b_finished || !IsValid( p_sys ) );
if( p_sys->b_blackslot ) if( p_sys->b_blackslot )
{ {
......
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