From d9e2aceb7f1c712a52672129ca7971872b030e1e Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Fri, 29 Aug 2014 00:32:32 +0200 Subject: Add missing "const" all over the place. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger --- libavcodec/indeo3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/indeo3.c') diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index aa9c30aca9..d38765ea40 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -118,8 +118,8 @@ static uint8_t requant_tab[8][128]; */ static av_cold void build_requant_tab(void) { - static int8_t offsets[8] = { 1, 1, 2, -3, -3, 3, 4, 4 }; - static int8_t deltas [8] = { 0, 1, 0, 4, 4, 1, 0, 1 }; + static const int8_t offsets[8] = { 1, 1, 2, -3, -3, 3, 4, 4 }; + static const int8_t deltas [8] = { 0, 1, 0, 4, 4, 1, 0, 1 }; int i, j, step; -- cgit v1.2.3