Fix asserts in Palette and BackwardReference code.

Fix inequality assertion on number of palette colors.
Fix inequality assertion test in BackwardReferencesHashChainFollowChosenPath.

Change-Id: Ie3242f1bbeaf96db91b839b6732ccce2634cebf3
This commit is contained in:
Vikas Arora
2012-06-11 12:26:19 +05:30
parent 3697b5ceb2
commit 7c6898051e
2 changed files with 2 additions and 2 deletions

View File

@ -613,7 +613,7 @@ static int BackwardReferencesHashChainFollowChosenPath(
++i;
}
}
assert(size < refs->max_size);
assert(size <= refs->max_size);
refs->size = size;
ok = 1;
Error: