1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

prores: use shift instead of multiply

This commit is contained in:
Jonne Ahner 2011-09-20 22:46:17 +02:00 committed by Michael Niedermayer
parent 847052db34
commit 989c02825e

View File

@ -430,7 +430,7 @@ static void decode_slice_chroma(AVCodecContext *avctx, SliceContext *slice,
LOCAL_ALIGNED_16(DCTELEM, blocks, [8*4*64]);
DCTELEM *block;
GetBitContext gb;
int i, blocks_per_slice = slice->mb_count*2;
int i, blocks_per_slice = slice->mb_count<<1;
for (i = 0; i < blocks_per_slice; i++)
ctx->dsp.clear_block(blocks+(i<<6));