Commit c347f75d authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/put_bits: Remove dead code in put_bits()

Fixes CID1297574
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c4c6aea3
......@@ -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;
......
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