Browse Source

prores: use shift instead of multiply

tags/n0.9
Jonne Ahner Michael Niedermayer 14 years ago
parent
commit
989c02825e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/proresdec.c

+ 1
- 1
libavcodec/proresdec.c 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));


Loading…
Cancel
Save