mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00: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:
parent
c4c6aea397
commit
c347f75d6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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_assert2(s->buf_ptr+3<s->buf_end);
|
||||||
AV_WL32(s->buf_ptr, bit_buf);
|
AV_WL32(s->buf_ptr, bit_buf);
|
||||||
s->buf_ptr += 4;
|
s->buf_ptr += 4;
|
||||||
bit_buf = (bit_left == 32) ? 0 : value >> bit_left;
|
bit_buf = value >> bit_left;
|
||||||
bit_left += 32;
|
bit_left += 32;
|
||||||
}
|
}
|
||||||
bit_left -= n;
|
bit_left -= n;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue