Commit bb991087 authored by Reimar Döffinger's avatar Reimar Döffinger

Make vp3 arrays static const where possible.

Originally committed as revision 19771 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8444059f
......@@ -258,25 +258,25 @@ static int init_block_mapping(Vp3DecodeContext *s)
int current_macroblock;
int c_fragment;
signed char travel_width[16] = {
static const signed char travel_width[16] = {
1, 1, 0, -1,
0, 0, 1, 0,
1, 0, 1, 0,
0, -1, 0, 1
};
signed char travel_height[16] = {
static const signed char travel_height[16] = {
0, 0, 1, 0,
1, 1, 0, -1,
0, 1, 0, -1,
-1, 0, -1, 0
};
signed char travel_width_mb[4] = {
static const signed char travel_width_mb[4] = {
1, 0, 1, 0
};
signed char travel_height_mb[4] = {
static const signed char travel_height_mb[4] = {
0, 1, 0, -1
};
......@@ -1200,7 +1200,7 @@ static void reverse_dc_prediction(Vp3DecodeContext *s,
* 2: up-right multiplier
* 3: left multiplier
*/
int predictor_transform[16][4] = {
static const int predictor_transform[16][4] = {
{ 0, 0, 0, 0},
{ 0, 0, 0,128}, // PL
{ 0, 0,128, 0}, // PUR
......
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