summaryrefslogtreecommitdiff
path: root/libavcodec/vp6.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-03-08 17:57:13 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-03-08 17:57:13 +0000
commitbac02ed3c5004f4944cdeb97c4341925196b50d8 (patch)
tree51ef0c506016446ecf69dab94d3fcc0aad8e2e65 /libavcodec/vp6.c
parent409e1d71eaf2897f97f9d95e01079f93cac266ee (diff)
huffman: pass hnode_first as a flag instead of as an argument on its own
Originally committed as revision 12373 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp6.c')
-rw-r--r--libavcodec/vp6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index 26943e564f..1b59ecd078 100644
--- a/libavcodec/vp6.c
+++ b/libavcodec/vp6.c
@@ -224,7 +224,8 @@ static void vp6_build_huff_tree(vp56_context_t *s, uint8_t coeff_model[],
}
/* 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)