diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-07 11:01:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-07 11:01:52 +0200 |
commit | d40132dab39ae0fa72025d6b823eaeac805474d2 (patch) | |
tree | 6197ea83465ef6386897b4cf6096d91f5d74b08e /libavcodec | |
parent | dd7d08ee89207ddcf83302d8e9eebdd6f796f6f4 (diff) | |
download | ffmpeg-d40132dab39ae0fa72025d6b823eaeac805474d2.tar.gz |
proresenc_kostya: fix encoded mantissa.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/proresenc_kostya.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 86037d3807..bcd8e515e3 100644 --- a/libavcodec/proresenc_kostya.c +++ b/libavcodec/proresenc_kostya.c @@ -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; |