diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-09 14:49:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-09 14:56:00 +0200 |
commit | 334aafe5650007dab180f12a49081ad1561f0e08 (patch) | |
tree | 0582dc291e66c2f2e03e5b6c18b03f926f0fb0db /libavcodec/huffman.h | |
parent | 673716c54b39eba9579a38ad222130e3f9549167 (diff) | |
download | ffmpeg-334aafe5650007dab180f12a49081ad1561f0e08.tar.gz |
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>
Diffstat (limited to 'libavcodec/huffman.h')
-rw-r--r-- | libavcodec/huffman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/huffman.h b/libavcodec/huffman.h index b1ace62201..6ab23ae216 100644 --- a/libavcodec/huffman.h +++ b/libavcodec/huffman.h @@ -43,6 +43,6 @@ typedef int (*HuffCmp)(const void *va, const void *vb); int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int nb_bits, Node *nodes, HuffCmp cmp, int flags); -int ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats, int n); +int ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats, int n, int skip0); #endif /* AVCODEC_HUFFMAN_H */ |