mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-24 13:02:47 +01:00
If ReadBits(0) == 0, the value of max_symbol is set to the alphabet size for each symbol type. See vp8l_dec.c, ReadHuffmanCode(), which passes alphabet_size to ReadHuffmanCodeLengths() as num_symbols, and ReadHuffmanCodeLengths() then sets max_symbol to that. Bug: webp:611 Change-Id: I662bd1d7f372e7f2e9c71cc86f87aefd02f36647