diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c index 7dff6633df..7b23a40df4 100644 --- a/libavcodec/dca_core.c +++ b/libavcodec/dca_core.c @@ -69,7 +69,7 @@ static const uint8_t block_code_nbits[7] = { static int dca_get_vlc(GetBitContext *s, DCAVLC *v, int i) { - return get_vlc2(s, v->vlc[i].table, v->vlc[i].bits, v->max_depth); + return get_vlc2(s, v->vlc[i].table, v->vlc[i].bits, 2); } static void get_array(GetBitContext *s, int32_t *array, int size, int n)