Commit d40132da authored by Michael Niedermayer's avatar Michael Niedermayer

proresenc_kostya: fix encoded mantissa.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dd7d08ee
......@@ -289,8 +289,7 @@ static inline void encode_vlc_codeword(PutBitContext *pb, unsigned codebook, int
exponent = av_log2(val);
put_bits(pb, exponent - exp_order + switch_bits, 0);
put_bits(pb, 1, 1);
put_bits(pb, exponent, val);
put_bits(pb, exponent + 1, val);
} else {
exponent = val >> rice_order;
......
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