mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Merge "lossless incremental decoding: fix missing eos_ test"
This commit is contained in:
commit
976adac1ce
@ -1091,6 +1091,7 @@ static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data,
|
|||||||
VP8LFillBitWindow(br);
|
VP8LFillBitWindow(br);
|
||||||
if (htree_group->use_packed_table) {
|
if (htree_group->use_packed_table) {
|
||||||
code = ReadPackedSymbols(htree_group, br, src);
|
code = ReadPackedSymbols(htree_group, br, src);
|
||||||
|
if (VP8LIsEndOfStream(br)) break;
|
||||||
if (code == PACKED_NON_LITERAL_CODE) goto AdvanceByOne;
|
if (code == PACKED_NON_LITERAL_CODE) goto AdvanceByOne;
|
||||||
} else {
|
} else {
|
||||||
code = ReadSymbol(htree_group->htrees[GREEN], br);
|
code = ReadSymbol(htree_group->htrees[GREEN], br);
|
||||||
|
Loading…
Reference in New Issue
Block a user