summaryrefslogtreecommitdiff
path: root/libavcodec/bit_depth_template.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-04-03 15:28:45 +0300
committerMartin Storsjö <martin@martin.st>2013-04-08 12:38:33 +0300
commit9e0f14f16cfc9456a691655fda7d01090bffe47e (patch)
tree3ed6da9561ea0bd3fabe9d154ee47de76ccd0c96 /libavcodec/bit_depth_template.c
parent18df366a1857f9a92e158858cf495b61d096c7f1 (diff)
lavc: Make pointers to ff_cropTbl const
There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/bit_depth_template.c')
-rw-r--r--libavcodec/bit_depth_template.c2
1 files changed, 1 insertions, 1 deletions
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