summaryrefslogtreecommitdiff
path: root/libavcodec/dcadata.c
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2017-02-20 23:22:51 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-05-08 05:56:14 +0100
commitb8c2b9c39279171f647d9c81f34ffa3d3ae93c47 (patch)
treefc50e13f8009274c05ab06eeeb80757b6dc10a94 /libavcodec/dcadata.c
parent5f928c5201c077b9765610bc5304235c3f1d9bd6 (diff)
avcodec/dcaenc: Initial implementation of ADPCM encoding for DCA encoder
Diffstat (limited to 'libavcodec/dcadata.c')
-rw-r--r--libavcodec/dcadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dcadata.c b/libavcodec/dcadata.c
index 193247b18b..eaef01875a 100644
--- a/libavcodec/dcadata.c
+++ b/libavcodec/dcadata.c
@@ -61,7 +61,7 @@ const uint8_t ff_dca_quant_index_group_size[DCA_CODE_BOOKS] = {
/* ADPCM data */
/* 16 bits signed fractional Q13 binary codes */
-const int16_t ff_dca_adpcm_vb[4096][4] = {
+const int16_t ff_dca_adpcm_vb[DCA_ADPCM_VQCODEBOOK_SZ][DCA_ADPCM_COEFFS] = {
{ 9928, -2618, -1093, -1263 },
{ 11077, -2876, -1747, -308 },
{ 10503, -1082, -1426, -1167 },