mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/put_bits: Update size_in_bits in set_put_bits_buffer_size()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8ce564ea28
commit
e4c2ec879b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue