mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
huffman: pass hnode_first as a flag instead of as an argument on its own
Originally committed as revision 12373 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -32,8 +32,10 @@ typedef struct {
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user