| commit | 2b6456c1945d46848e1bcf623a9d9ea5f87e1e97 | [log] [tgz] |
|---|---|---|
| author | RogerZhou <youzhou@microsoft.com> | Thu Oct 05 21:08:21 2017 -0700 |
| committer | Roger Zhou <youzhou@microsoft.com> | Fri Oct 06 14:34:29 2017 +0000 |
| tree | a913644cc6be84f79f2fdee92a7941f69ac6a6e9 | |
| parent | 799ff70195900d52a85a99e4704f4a3be28f5ee0 [diff] [blame] |
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; }