diff 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
line wrap: on
line diff
--- a/huffman.c	Mon Oct 15 16:26:02 2007 +0000
+++ b/huffman.c	Mon Oct 15 21:41:01 2007 +0000
@@ -60,10 +60,11 @@
 
 
 /**
+ * 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;