]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp6.c
nvenc: drop the hard dependency on CUDA
[ffmpeg] / libavcodec / vp6.c
index 5026c2a7badf3513fc5c9f35bc9236307734bb2e..c48c2b81802ee21194621820aea8c28125f245a8 100644 (file)
@@ -252,7 +252,8 @@ static int vp6_build_huff_tree(VP56Context *s, uint8_t coeff_model[],
 
     ff_free_vlc(vlc);
     /* then build the huffman tree according to probabilities */
-    return ff_huff_build_tree(s->avctx, vlc, size, nodes, vp6_huff_cmp,
+    return ff_huff_build_tree(s->avctx, vlc, size, FF_HUFFMAN_BITS,
+                              nodes, vp6_huff_cmp,
                               FF_HUFFMAN_FLAG_HNODE_FIRST);
 }