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/sh4/dsputil_sh4.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/sh4/dsputil_sh4.c')
-rw-r--r-- | libavcodec/sh4/dsputil_sh4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sh4/dsputil_sh4.c b/libavcodec/sh4/dsputil_sh4.c index bd2b182ecc..2538945791 100644 --- a/libavcodec/sh4/dsputil_sh4.c +++ b/libavcodec/sh4/dsputil_sh4.c @@ -56,7 +56,7 @@ static void clear_blocks_sh4(int16_t *blocks) static void idct_put(uint8_t *dest, int line_size, int16_t *block) { int i; - uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; + const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; ff_idct_sh4(block); for(i=0;i<8;i++) { dest[0] = cm[block[0]]; @@ -74,7 +74,7 @@ static void idct_put(uint8_t *dest, int line_size, int16_t *block) static void idct_add(uint8_t *dest, int line_size, int16_t *block) { int i; - uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; + const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; ff_idct_sh4(block); for(i=0;i<8;i++) { dest[0] = cm[dest[0]+block[0]]; |