comparison huffman.c @ 5824:6ac956b341f2 libavcodec

Cygwin don't like this function declaration. So move this self-documentation into a comment instead.
author aurel
date Mon, 15 Oct 2007 21:41:01 +0000
parents ffac546a3861
children 94fa03139210
comparison
equal deleted inserted replaced
5823:4beef9d0e663 5824:6ac956b341f2
58 return init_vlc_sparse(vlc, 9, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); 58 return init_vlc_sparse(vlc, 9, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0);
59 } 59 }
60 60
61 61
62 /** 62 /**
63 * nodes size must be 2*nb_codes
63 * first nb_codes nodes.count must be set 64 * first nb_codes nodes.count must be set
64 */ 65 */
65 int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, 66 int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
66 Node nodes[2*nb_codes], huff_cmp_t cmp, int hnode_first) 67 Node *nodes, huff_cmp_t cmp, int hnode_first)
67 { 68 {
68 int i, j; 69 int i, j;
69 int cur_node; 70 int cur_node;
70 int64_t sum = 0; 71 int64_t sum = 0;
71 72