summaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-15 21:41:01 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-15 21:41:01 +0000
commitf1bf85b8cfa8b841122fc80ba61204324d5727a9 (patch)
tree9f9a2da722cf5458a00d396af9c75a0d3558ced8 /libavcodec/huffman.c
parentc7be25856a01381dfac1c92b9fbc001ef583b57a (diff)
downloadffmpeg-streaming-f1bf85b8cfa8b841122fc80ba61204324d5727a9.zip
ffmpeg-streaming-f1bf85b8cfa8b841122fc80ba61204324d5727a9.tar.gz
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
Diffstat (limited to 'libavcodec/huffman.c')
-rw-r--r--libavcodec/huffman.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/huffman.c b/libavcodec/huffman.c
index 298dc15..f75346f 100644
--- a/libavcodec/huffman.c
+++ b/libavcodec/huffman.c
@@ -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;
OpenPOWER on IntegriCloud