1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

avcodec/put_bits: Remove dead code in put_bits()

Fixes CID1297574

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-05-15 16:19:53 +02:00
parent c4c6aea397
commit c347f75d6b

View File

@ -166,7 +166,7 @@ static inline void put_bits(PutBitContext *s, int n, unsigned int value)
av_assert2(s->buf_ptr+3<s->buf_end);
AV_WL32(s->buf_ptr, bit_buf);
s->buf_ptr += 4;
bit_buf = (bit_left == 32) ? 0 : value >> bit_left;
bit_buf = value >> bit_left;
bit_left += 32;
}
bit_left -= n;