Merge "Regression fix for lossless decoding"

This commit is contained in:
pascal massimino 2015-01-23 13:51:21 -08:00 committed by Gerrit Code Review
commit f2ebc4a836

View File

@ -1073,7 +1073,7 @@ static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data,
process_func(dec, row); process_func(dec, row);
} }
} }
if (src < src_last) { if (src < src_end) {
if (col & mask) htree_group = GetHtreeGroupForPos(hdr, col, row); if (col & mask) htree_group = GetHtreeGroupForPos(hdr, col, row);
if (color_cache != NULL) { if (color_cache != NULL) {
while (last_cached < src) { while (last_cached < src) {