diff options
author | Martin Storsjö <martin@martin.st> | 2013-04-03 15:28:45 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-04-08 12:38:33 +0300 |
commit | 9e0f14f16cfc9456a691655fda7d01090bffe47e (patch) | |
tree | 3ed6da9561ea0bd3fabe9d154ee47de76ccd0c96 /libavcodec/dvdsubdec.c | |
parent | 18df366a1857f9a92e158858cf495b61d096c7f1 (diff) | |
download | ffmpeg-9e0f14f16cfc9456a691655fda7d01090bffe47e.tar.gz |
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/dvdsubdec.c')
-rw-r--r-- | libavcodec/dvdsubdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |