diff options
author | Jonne Ahner <jonne.ahner@gmail.com> | 2011-09-20 22:46:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-20 22:46:17 +0200 |
commit | 989c02825e75a3eda9f4a044f85b4b0fa06c4ad4 (patch) | |
tree | 2cd5db3139aeae1c1481c7a2a4349f7c418b1dd7 | |
parent | 847052db34e61778a1408fa06a47f0cbc0dc7a32 (diff) | |
download | ffmpeg-989c02825e75a3eda9f4a044f85b4b0fa06c4ad4.tar.gz |
prores: use shift instead of multiply
-rw-r--r-- | libavcodec/proresdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c index 3f8f48bac2..6c640ac617 100644 --- a/libavcodec/proresdec.c +++ b/libavcodec/proresdec.c @@ -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)); |