Silence compiler above-boundary warnings
Change-Id: I6d806f92e8d38d5b0b01bc8e0fd97bd8839c84df
This commit is contained in:
@@ -1829,6 +1829,8 @@ static int rd_pick_palette_intra_sby(VP10_COMP *cpi, MACROBLOCK *x,
|
||||
if (centroids[i] == centroids[i - 1]) {
|
||||
j = i;
|
||||
while (j < k - 1) {
|
||||
assert((j + 1) < PALETTE_MAX_SIZE);
|
||||
assert(j > 0);
|
||||
centroids[j] = centroids[j + 1];
|
||||
++j;
|
||||
}
|
||||
|
Reference in New Issue
Block a user