Commit 9712bc69 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Make iscan and scan neighbor arrays static const.

This commit changes the tables to be read only, which fixes
issue #866

Change-Id: I85bbe03f9d344f50570f8c1c61699bdc5cee248f
parent 62848d2a
This diff is collapsed.
......@@ -23,8 +23,6 @@ extern "C" {
#define MAX_NEIGHBORS 2
void vp9_init_neighbors();
typedef struct {
const int16_t *scan;
const int16_t *iscan;
......
......@@ -38,7 +38,6 @@ static void initialize_dec() {
if (!init_done) {
vp9_rtcd();
vp9_init_neighbors();
vp9_init_intra_predictors();
init_done = 1;
}
......
......@@ -144,7 +144,6 @@ void vp9_initialize_enc() {
if (!init_done) {
vp9_rtcd();
vp9_init_neighbors();
vp9_init_intra_predictors();
vp9_coef_tree_initialize();
vp9_tokenize_initialize();
......
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