summaryrefslogtreecommitdiff
path: root/libavcodec/mips/hevc_mc_uni_msa.c
diff options
context:
space:
mode:
authorShivraj Patil <shivraj.patil@imgtec.com>2015-06-11 14:07:50 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-06-11 12:24:48 +0200
commite4fb8816f99d09aa6436bff0e4e2453a02b053e1 (patch)
tree59b21b0d82e44741126a0fb67684aa9725cc2ea6 /libavcodec/mips/hevc_mc_uni_msa.c
parentb87dc70c6590556d42ddc21ba0f6e9c790ddd23d (diff)
avcodec/mips: Add 'const' to static arrays in HEVC MSA code
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mips/hevc_mc_uni_msa.c')
-rw-r--r--libavcodec/mips/hevc_mc_uni_msa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mips/hevc_mc_uni_msa.c b/libavcodec/mips/hevc_mc_uni_msa.c
index 7d02ce82fa..61a67c9ffa 100644
--- a/libavcodec/mips/hevc_mc_uni_msa.c
+++ b/libavcodec/mips/hevc_mc_uni_msa.c
@@ -249,7 +249,7 @@ static void copy_width64_msa(uint8_t *src, int32_t src_stride,
copy_16multx8mult_msa(src, src_stride, dst, dst_stride, height, 64);
}
-uint8_t mc_filt_mask_arr[16 * 3] = {
+static const uint8_t mc_filt_mask_arr[16 * 3] = {
/* 8 width cases */
0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8,
/* 4 width cases */