DecodeImageData(): change the incorrect assert
this function can be called not to decode pixels, but simply to finish processing (through process_func()) the already decoded pixels. Change-Id: I80485e92e3c47f0aa3389476dcb82745a243fc4a
This commit is contained in:
parent
5a48fcd8a1
commit
2abfa54f95
@ -1055,7 +1055,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) {
|
||||
|
Loading…
Reference in New Issue
Block a user