Commit e458fd6c authored by Michael Niedermayer's avatar Michael Niedermayer

libavcodec/dv.c: Fix duplicate words

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 805fbbef
......@@ -551,7 +551,7 @@ static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, i
if (level + 15 > 30U) {
bi->sign[i] = (level >> 31) & 1;
/* weight it and and shift down into range, adding for rounding */
/* weight it and shift down into range, adding for rounding */
/* the extra division by a factor of 2^4 reverses the 8x expansion of the DCT
AND the 2x doubling of the weights */
level = (FFABS(level) * weight[i] + (1 << (dv_weight_bits+3))) >> (dv_weight_bits+4);
......
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