Merge "DecodeImageData(): change the incorrect assert" into 0.5.1

This commit is contained in:
Pascal Massimino
2016-06-17 06:07:44 +00:00
committed by Gerrit Code Review
14 changed files with 842 additions and 105 deletions

View File

@ -1058,7 +1058,7 @@ static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data,
const int mask = hdr->huffman_mask_;
const HTreeGroup* htree_group =
(src < src_last) ? GetHtreeGroupForPos(hdr, col, row) : NULL;
assert(src < src_end);
assert(dec->last_row_ < last_row);
assert(src_last <= src_end);
while (src < src_last) {