Commit 989c0282 authored by Jonne Ahner's avatar Jonne Ahner Committed by Michael Niedermayer

prores: use shift instead of multiply

parent 847052db
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment