From 9e0f14f16cfc9456a691655fda7d01090bffe47e Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 3 Apr 2013 15:28:45 +0300 Subject: lavc: Make pointers to ff_cropTbl const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's no point in these pointers not being const. Signed-off-by: Martin Storsjö --- libavcodec/bit_depth_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/bit_depth_template.c') diff --git a/libavcodec/bit_depth_template.c b/libavcodec/bit_depth_template.c index a757f45382..37d02adaf2 100644 --- a/libavcodec/bit_depth_template.c +++ b/libavcodec/bit_depth_template.c @@ -70,7 +70,7 @@ # define pixel4 uint32_t # define dctcoef int16_t -# define INIT_CLIP uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; +# define INIT_CLIP const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; # define no_rnd_avg_pixel4 no_rnd_avg32 # define rnd_avg_pixel4 rnd_avg32 # define AV_RN2P AV_RN16 -- cgit v1.2.3