1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Cygwin don't like this function declaration.

So move this self-documentation into a comment instead.

Originally committed as revision 10743 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2007-10-15 21:41:01 +00:00
parent c7be25856a
commit f1bf85b8cf
2 changed files with 3 additions and 2 deletions

View File

@ -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
*/
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 cur_node;

View File

@ -33,6 +33,6 @@ typedef struct {
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[2*nb_codes], huff_cmp_t cmp, int hnode_first);
Node *nodes, huff_cmp_t cmp, int hnode_first);
#endif /* AVCODEC_HUFFMAN_H */