diff vp6.c @ 6472:e39e03d99d24 libavcodec

huffman: pass hnode_first as a flag instead of as an argument on its own
author aurel
date Sat, 08 Mar 2008 17:57:13 +0000
parents 7fa807dd7958
children 48759bfbd073
line wrap: on
line diff
--- a/vp6.c	Sat Mar 08 17:18:28 2008 +0000
+++ b/vp6.c	Sat Mar 08 17:57:13 2008 +0000
@@ -224,7 +224,8 @@
     }
 
     /* then build the huffman tree accodring to probabilities */
-    ff_huff_build_tree(s->avctx, vlc, size, nodes, vp6_huff_cmp, 1);
+    ff_huff_build_tree(s->avctx, vlc, size, nodes, vp6_huff_cmp,
+                       FF_HUFFMAN_FLAG_HNODE_FIRST);
 }
 
 static void vp6_parse_coeff_models(vp56_context_t *s)