diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-01-31 12:25:52 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-01-31 12:25:52 +0000 |
commit | 9c9519fd39dc1218ed5b6c3a8243ef2ae3655cf9 (patch) | |
tree | 68987d92f35ace76d074db61d9ad040d65eb40f9 /libavcodec/indeo3.c | |
parent | ccac843872582e7eb8b5f3d6a3488fac5fc2ea55 (diff) | |
download | ffmpeg-9c9519fd39dc1218ed5b6c3a8243ef2ae3655cf9.tar.gz |
Two tables that should be const
Originally committed as revision 11692 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/indeo3.c')
-rw-r--r-- | libavcodec/indeo3.c | 4 |
1 files 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) { |