# HG changeset patch # User reimar # Date 1201782352 0 # Node ID d912f75d3b5d113e2c30ebaca4968c4a75a73ddd # Parent f78a5c3cbb7cc7ce84bf1426a9759e1170ffd883 Two tables that should be const diff -r f78a5c3cbb7c -r d912f75d3b5d indeo3.c --- a/indeo3.c Thu Jan 31 02:13:53 2008 +0000 +++ b/indeo3.c Thu Jan 31 12:25:52 2008 +0000 @@ -54,13 +54,13 @@ 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) {