proresenc_kostya: fix encoded mantissa.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-04-07 11:01:52 +02:00
parent dd7d08ee89
commit d40132dab3
1 changed files with 1 additions and 2 deletions

View File

@ -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;