Mercurial > libavcodec.hg
changeset 6210:d912f75d3b5d libavcodec
Two tables that should be const
author | reimar |
---|---|
date | Thu, 31 Jan 2008 12:25:52 +0000 |
parents | f78a5c3cbb7c |
children | ed359f380aa7 |
files | indeo3.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {