[FFmpeg-cvslog] avcodec/put_bits: Update size_in_bits in set_put_bits_buffer_size()
Michael Niedermayer
git at videolan.org
Wed Jun 17 22:09:46 CEST 2015
ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Mon May 25 04:53:09 2015 +0200| [9d6d4eb4254253b012658d3eb95e674c6d70abe4] | committer: Michael Niedermayer
avcodec/put_bits: Update size_in_bits in set_put_bits_buffer_size()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit e4c2ec879b1121c02279cd60a54643da0d249e40)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d6d4eb4254253b012658d3eb95e674c6d70abe4
---
libavcodec/put_bits.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h
index e2c4a61..df3701c 100644
--- a/libavcodec/put_bits.h
+++ b/libavcodec/put_bits.h
@@ -240,6 +240,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 */
More information about the ffmpeg-cvslog
mailing list