diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-25 04:53:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-20 04:43:39 +0200 |
commit | 4947158b1f34c7a1b90cac7a6e205529353af1b6 (patch) | |
tree | d27fdb8ea497610d39a326e7c01f79b4cd6f73a8 | |
parent | 308bcf53f9d6c9c0001f3466e36a1e09a611ed58 (diff) | |
download | ffmpeg-4947158b1f34c7a1b90cac7a6e205529353af1b6.tar.gz |
avcodec/put_bits: Update size_in_bits in set_put_bits_buffer_size()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e4c2ec879b1121c02279cd60a54643da0d249e40)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/put_bits.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h index 81be6b311b..82a0858942 100644 --- a/libavcodec/put_bits.h +++ b/libavcodec/put_bits.h @@ -252,6 +252,7 @@ static inline void skip_put_bits(PutBitContext *s, int n) static inline void set_put_bits_buffer_size(PutBitContext *s, int size) { s->buf_end = s->buf + size; + s->size_in_bits = 8*size; } #endif /* AVCODEC_PUT_BITS_H */ |