diff options
Diffstat (limited to 'ffmpeg/libavcodec/sh4/dsputil_sh4.c')
| -rw-r--r-- | ffmpeg/libavcodec/sh4/dsputil_sh4.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ffmpeg/libavcodec/sh4/dsputil_sh4.c b/ffmpeg/libavcodec/sh4/dsputil_sh4.c index 6e19fa0..82b75ae 100644 --- a/ffmpeg/libavcodec/sh4/dsputil_sh4.c +++ b/ffmpeg/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]]; @@ -94,7 +94,6 @@ av_cold void ff_dsputil_init_sh4(DSPContext *c, AVCodecContext *avctx) { const int idct_algo= avctx->idct_algo; const int high_bit_depth = avctx->bits_per_raw_sample > 8; - ff_dsputil_init_align(c,avctx); if (!high_bit_depth) c->clear_blocks = clear_blocks_sh4; |
