
Allocate big chunk of memory in GetHuffBitLengthsAndCodes, instead of allocating in a loop. Also fixed the potential memleak. Change-Id: Idc23ffa306f76100217304444191a8d2fef9c44a
Allocate big chunk of memory in GetHuffBitLengthsAndCodes, instead of allocating in a loop. Also fixed the potential memleak. Change-Id: Idc23ffa306f76100217304444191a8d2fef9c44a