Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fixed size array in good_for_rle
OptimizeHuffmanForRle is only called from TryOptimizeHuffmanForRle with fixed length values of ZOPFLI_NUM_LL and ZOPFLI_NUM_D. Rather than fighting with compilers about warnings in the malloc call, use a fixed size array the size of the larger of these. Fixes google#150
- Loading branch information