1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vc2enc: Add missing static to local variables

This commit is contained in:
Mark Thompson 2021-01-25 22:07:01 +00:00
parent 68b5236eae
commit ac05413dfb

View File

@ -423,7 +423,7 @@ static void encode_slice_params(VC2EncContext *s)
}
/* 1st idx = LL, second - vertical, third - horizontal, fourth - total */
const uint8_t vc2_qm_col_tab[][4] = {
static const uint8_t vc2_qm_col_tab[][4] = {
{20, 9, 15, 4},
{ 0, 6, 6, 4},
{ 0, 3, 3, 5},
@ -431,7 +431,7 @@ const uint8_t vc2_qm_col_tab[][4] = {
{ 0, 11, 10, 11}
};
const uint8_t vc2_qm_flat_tab[][4] = {
static const uint8_t vc2_qm_flat_tab[][4] = {
{ 0, 0, 0, 0},
{ 0, 0, 0, 0},
{ 0, 0, 0, 0},