Get rid of PackLiteralBitLengths()

[and in turn a malloc]. Also, a few related const fixes.

Change-Id: I229519b1c34d41c78d9ad2403f1e25feab3c9d93
This commit is contained in:
Urvang Joshi
2012-04-13 07:14:16 +00:00
committed by James Zern
parent d673b6b9a0
commit 352a4f49ab
3 changed files with 12 additions and 44 deletions

View File

@ -241,7 +241,7 @@ static void WriteHuffmanTreeRepetitionsZeros(
}
}
void VP8LCreateCompressedHuffmanTree(const uint8_t* depth,
void VP8LCreateCompressedHuffmanTree(const uint8_t* const depth,
int depth_size,
int* num_symbols,
uint8_t* tree,