Fix a incorrect pruning criterion from a refactoring commit
Change-Id: I7397eb94c563b02c72936260fffe5a2279d6af31
diff --git a/av1/encoder/partition_strategy.c b/av1/encoder/partition_strategy.c
index 5d01d6f..9335aad 100644
--- a/av1/encoder/partition_strategy.c
+++ b/av1/encoder/partition_strategy.c
@@ -1647,7 +1647,7 @@
// only disable square split when current block is not at the picture
// boundary. otherwise, inherit the square split flag from previous logic
- if (!av1_blk_has_rows_and_cols(blk_params)) {
+ if (av1_blk_has_rows_and_cols(blk_params)) {
part_state->do_square_split = 0;
}
part_state->partition_none_allowed = !(part_state->do_square_split);