Merge "lossless incremental decoding: fix missing eos_ test"

This commit is contained in:
James Zern 2017-03-01 02:54:13 +00:00 committed by Gerrit Code Review
commit 976adac1ce

View File

@ -1091,6 +1091,7 @@ static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data,
VP8LFillBitWindow(br);
if (htree_group->use_packed_table) {
code = ReadPackedSymbols(htree_group, br, src);
if (VP8LIsEndOfStream(br)) break;
if (code == PACKED_NON_LITERAL_CODE) goto AdvanceByOne;
} else {
code = ReadSymbol(htree_group->htrees[GREEN], br);