Fixed a bug in hash ME when it is used in intrabc Change-Id: I4f158dd15e4a7a8abb27ad0ad6aed6f8f9fce4f6
diff --git a/av1/encoder/mcomp.c b/av1/encoder/mcomp.c index 49d6e67..eb32edd 100644 --- a/av1/encoder/mcomp.c +++ b/av1/encoder/mcomp.c
@@ -2596,7 +2596,7 @@ const int count = av1_hash_table_count(ref_frame_hash, hash_value1); // for intra, at lest one matching can be found, itself. - if (count == (intra ? 1 : 0)) { + if (count <= (intra ? 1 : 0)) { break; }