Commit b619576d authored by aurel's avatar aurel

Cygwin don't like this function declaration.

So move this self-documentation into a comment instead.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10743 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dd1298cf
...@@ -60,10 +60,11 @@ static int build_huff_tree(VLC *vlc, Node *nodes, int head) ...@@ -60,10 +60,11 @@ static int build_huff_tree(VLC *vlc, Node *nodes, int head)
/** /**
* nodes size must be 2*nb_codes
* first nb_codes nodes.count must be set * first nb_codes nodes.count must be set
*/ */
int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
Node nodes[2*nb_codes], huff_cmp_t cmp, int hnode_first) Node *nodes, huff_cmp_t cmp, int hnode_first)
{ {
int i, j; int i, j;
int cur_node; int cur_node;
......
...@@ -33,6 +33,6 @@ typedef struct { ...@@ -33,6 +33,6 @@ typedef struct {
typedef int (*huff_cmp_t)(const void *va, const void *vb); typedef int (*huff_cmp_t)(const void *va, const void *vb);
int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
Node nodes[2*nb_codes], huff_cmp_t cmp, int hnode_first); Node *nodes, huff_cmp_t cmp, int hnode_first);
#endif /* AVCODEC_HUFFMAN_H */ #endif /* AVCODEC_HUFFMAN_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment