summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.c
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2016-05-01 08:41:43 -0700
committerJames Almer <jamrial@gmail.com>2016-05-01 16:50:29 -0300
commit2df7d4fa4524b6f83c65428d75192267a2d0c113 (patch)
treea7783dc2a73e3f6b92ac290296ea5605855d450a /libavcodec/dcadec.c
parentbc2fe362284257b96519a2fcbe5383fb6dad366b (diff)
avcodec/dca: move huffman data into separate object file
Signed-off-by: James Almer <jamrial@gmail.com>
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);