avcodec/huffman/ff_huff_gen_len_table: support skiping stat=0 entries
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Jun 2014 12:49:35 +0000 (14:49 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Jun 2014 12:56:00 +0000 (14:56 +0200)
commit334aafe5650007dab180f12a49081ad1561f0e08
tree0582dc291e66c2f2e03e5b6c18b03f926f0fb0db
parent673716c54b39eba9579a38ad222130e3f9549167
avcodec/huffman/ff_huff_gen_len_table: support skiping stat=0 entries

This is probably not the simplest solution but as this is needed for a bugfix,
simplification is left for later.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/huffman.c
libavcodec/huffman.h
libavcodec/huffyuvenc.c
libavcodec/utvideoenc.c