• Justin Ruggles's avatar
    webp: add a special case for a huffman table with only 1 symbol · d085f80f
    Justin Ruggles authored
    The vlc reader cannot handle 0-bit huffman codes. For most
    situations WebP uses the "simple" huffman coding for this case,
    but that will only handle symbols up to 255. For the LZ77 distance
    codes, larger symbol values are needed, so it can happen in rare
    cases that a normal huffman table is used that only has a single
    symbol.
    d085f80f