summaryrefslogtreecommitdiff
path: root/src/libmpeg2
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmpeg2')
-rw-r--r--src/libmpeg2/idct_altivec.c2
-rw-r--r--src/libmpeg2/slice.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libmpeg2/idct_altivec.c b/src/libmpeg2/idct_altivec.c
index ed8b58cfd..895984c45 100644
--- a/src/libmpeg2/idct_altivec.c
+++ b/src/libmpeg2/idct_altivec.c
@@ -148,7 +148,7 @@
#define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) {a, b, c, d, e, f, g, h}
#endif
-static vector_s16_t constants[5] = {
+static const vector_s16_t constants[5] = {
VEC_S16(23170, 13573, 6518, 21895, -23170, -21895, 32, 31),
VEC_S16(16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725),
VEC_S16(22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521),
diff --git a/src/libmpeg2/slice.c b/src/libmpeg2/slice.c
index 8cb5c33b6..91a4c47b1 100644
--- a/src/libmpeg2/slice.c
+++ b/src/libmpeg2/slice.c
@@ -32,7 +32,7 @@
#include "vlc.h"
-static int non_linear_quantizer_scale [] = {
+static const int non_linear_quantizer_scale [] = {
0, 1, 2, 3, 4, 5, 6, 7,
8, 10, 12, 14, 16, 18, 20, 22,
24, 28, 32, 36, 40, 44, 48, 52,