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/dvdsubdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/dvdsubdec.c') diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index ae16f05e4c..cf4524ef92 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -34,7 +34,7 @@ typedef struct DVDSubContext { static void yuv_a_to_rgba(const uint8_t *ycbcr, const uint8_t *alpha, uint32_t *rgba, int num_values) { - uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; + const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; uint8_t r, g, b; int i, y, cb, cr; int r_add, g_add, b_add; -- cgit v1.2.3