summaryrefslogtreecommitdiff
path: root/libavcodec/vc2enc.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2021-01-25 22:07:01 +0000
committerMark Thompson <sw@jkqxz.net>2021-02-02 22:34:55 +0000
commitac05413dfbd9acae0e6b0a169c22aeafbd34b73a (patch)
tree6ccd14b6a2d668cffd600c3c6067a8c7aee4a963 /libavcodec/vc2enc.c
parent68b5236eaea24da7bcbabd7daf25d6148429e43e (diff)
vc2enc: Add missing static to local variables
Diffstat (limited to 'libavcodec/vc2enc.c')
-rw-r--r--libavcodec/vc2enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
index bab9d0f3d5..7bd2e4c2ab 100644
--- a/libavcodec/vc2enc.c
+++ b/libavcodec/vc2enc.c
@@ -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},