aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mips/hevcpred_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/hevcpred_msa.c
parentb87dc70c6590556d42ddc21ba0f6e9c790ddd23d (diff)
downloadffmpeg-e4fb8816f99d09aa6436bff0e4e2453a02b053e1.tar.gz
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/hevcpred_msa.c')
-rw-r--r--libavcodec/mips/hevcpred_msa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mips/hevcpred_msa.c b/libavcodec/mips/hevcpred_msa.c
index 8a8aa96457..5d9299fb32 100644
--- a/libavcodec/mips/hevcpred_msa.c
+++ b/libavcodec/mips/hevcpred_msa.c
@@ -22,11 +22,11 @@
#include "libavutil/mips/generic_macros_msa.h"
#include "hevcpred_mips.h"
-static int8_t intra_pred_angle_up[17] = {
+static const int8_t intra_pred_angle_up[17] = {
-32, -26, -21, -17, -13, -9, -5, -2, 0, 2, 5, 9, 13, 17, 21, 26, 32
};
-static int8_t intra_pred_angle_low[16] = {
+static const int8_t intra_pred_angle_low[16] = {
32, 26, 21, 17, 13, 9, 5, 2, 0, -2, -5, -9, -13, -17, -21, -26
};