Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/put_bits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h
index 760b233ced..52eb7fbcf8 100644
--- a/libavcodec/put_bits.h
+++ b/libavcodec/put_bits.h
@@ -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;