Commit 909440fc authored by michael's avatar michael

out of array read fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5141 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5025f54b
......@@ -764,9 +764,10 @@ static const int8_t svq1_inter_codebook_8x8[6144] = {
};
/* list of codebooks for inter-coded vectors */
static const int8_t* const svq1_inter_codebooks[4] = {
static const int8_t* const svq1_inter_codebooks[6] = {
svq1_inter_codebook_4x2, svq1_inter_codebook_4x4,
svq1_inter_codebook_8x4, svq1_inter_codebook_8x8
svq1_inter_codebook_8x4, svq1_inter_codebook_8x8,
NULL, NULL,
};
static const int8_t svq1_inter_codebook_sum[4][16*6] = {
......@@ -1538,9 +1539,10 @@ static const int8_t svq1_intra_codebook_8x8[6144] = {
};
/* list of codebooks for intra-coded vectors */
static const int8_t* const svq1_intra_codebooks[4] = {
static const int8_t* const svq1_intra_codebooks[6] = {
svq1_intra_codebook_4x2, svq1_intra_codebook_4x4,
svq1_intra_codebook_8x4, svq1_intra_codebook_8x8
svq1_intra_codebook_8x4, svq1_intra_codebook_8x8,
NULL, NULL,
};
static const int8_t svq1_intra_codebook_sum[4][16*6] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment