summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r--libavcodec/dcadec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index f3c397250c..92c233498c 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -22,7 +22,7 @@
#include "libavutil/channel_layout.h"
#include "dcadec.h"
-#include "dcamath.h"
+#include "dcahuff.h"
#include "dca_syncwords.h"
#include "profiles.h"
@@ -350,6 +350,8 @@ static av_cold int dcadec_init(AVCodecContext *avctx)
s->exss.avctx = avctx;
s->xll.avctx = avctx;
+ ff_dca_init_vlcs();
+
if (ff_dca_core_init(&s->core) < 0)
return AVERROR(ENOMEM);