Mercurial > libavcodec.hg
comparison indeo3.c @ 6210:d912f75d3b5d libavcodec
Two tables that should be const
author | reimar |
---|---|
date | Thu, 31 Jan 2008 12:25:52 +0000 |
parents | f99e40a7155b |
children | dfdff1ca78a7 |
comparison
equal
deleted
inserted
replaced
6209:f78a5c3cbb7c | 6210:d912f75d3b5d |
---|---|
52 | 52 |
53 unsigned char *ModPred; | 53 unsigned char *ModPred; |
54 unsigned short *corrector_type; | 54 unsigned short *corrector_type; |
55 } Indeo3DecodeContext; | 55 } Indeo3DecodeContext; |
56 | 56 |
57 static int corrector_type_0[24] = { | 57 static const int corrector_type_0[24] = { |
58 195, 159, 133, 115, 101, 93, 87, 77, | 58 195, 159, 133, 115, 101, 93, 87, 77, |
59 195, 159, 133, 115, 101, 93, 87, 77, | 59 195, 159, 133, 115, 101, 93, 87, 77, |
60 128, 79, 79, 79, 79, 79, 79, 79 | 60 128, 79, 79, 79, 79, 79, 79, 79 |
61 }; | 61 }; |
62 | 62 |
63 static int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 }; | 63 static const int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 }; |
64 | 64 |
65 static void build_modpred(Indeo3DecodeContext *s) | 65 static void build_modpred(Indeo3DecodeContext *s) |
66 { | 66 { |
67 int i, j; | 67 int i, j; |
68 | 68 |