]> git.sesse.net Git - ffmpeg/commitdiff
vc2enc: Add missing static to local variables
authorMark Thompson <sw@jkqxz.net>
Mon, 25 Jan 2021 22:07:01 +0000 (22:07 +0000)
committerMark Thompson <sw@jkqxz.net>
Tue, 2 Feb 2021 22:34:55 +0000 (22:34 +0000)
libavcodec/vc2enc.c

index bab9d0f3d55904083caaef5e656c3d639f0262cd..7bd2e4c2abac3ec29177497cb5d3db98785b2032 100644 (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},