From 9c9519fd39dc1218ed5b6c3a8243ef2ae3655cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Thu, 31 Jan 2008 12:25:52 +0000 Subject: [PATCH] Two tables that should be const Originally committed as revision 11692 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/indeo3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 52fe2b849f..96b9854961 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -54,13 +54,13 @@ typedef struct Indeo3DecodeContext { unsigned short *corrector_type; } Indeo3DecodeContext; -static int corrector_type_0[24] = { +static const int corrector_type_0[24] = { 195, 159, 133, 115, 101, 93, 87, 77, 195, 159, 133, 115, 101, 93, 87, 77, 128, 79, 79, 79, 79, 79, 79, 79 }; -static int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 }; +static const int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 }; static void build_modpred(Indeo3DecodeContext *s) {