diff huffman.h @ 6472:e39e03d99d24 libavcodec

huffman: pass hnode_first as a flag instead of as an argument on its own
author aurel
date Sat, 08 Mar 2008 17:57:13 +0000
parents aa110f457c5a
children e0cd9697ac6d
line wrap: on
line diff
--- a/huffman.h	Sat Mar 08 17:18:28 2008 +0000
+++ b/huffman.h	Sat Mar 08 17:57:13 2008 +0000
@@ -32,8 +32,10 @@
     uint32_t count;
 } Node;
 
+#define FF_HUFFMAN_FLAG_HNODE_FIRST 0x01
+
 typedef int (*huff_cmp_t)(const void *va, const void *vb);
 int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
-                       Node *nodes, huff_cmp_t cmp, int hnode_first);
+                       Node *nodes, huff_cmp_t cmp, int flags);
 
 #endif /* FFMPEG_HUFFMAN_H */