summaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-09 14:49:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-09 14:56:00 +0200
commit334aafe5650007dab180f12a49081ad1561f0e08 (patch)
tree0582dc291e66c2f2e03e5b6c18b03f926f0fb0db /libavcodec/huffman.h
parent673716c54b39eba9579a38ad222130e3f9549167 (diff)
downloadffmpeg-streaming-334aafe5650007dab180f12a49081ad1561f0e08.zip
ffmpeg-streaming-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/huffman.h b/libavcodec/huffman.h
index b1ace62..6ab23ae 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 */
OpenPOWER on IntegriCloud