diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-13 20:44:42 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-04-13 20:44:42 +0000 |
commit | ad25b954709ca41060c3a4ca91fb9c29558e7c7c (patch) | |
tree | a9fcf7bde059413f01a67af77ff7bfb185e621f7 | |
parent | 0aed5e9fb895a31c43ff6ab4edfecb5be372f704 (diff) | |
download | ffmpeg-ad25b954709ca41060c3a4ca91fb9c29558e7c7c.tar.gz |
Fix skip_put_bits() buf_ptr increment.
Originally committed as revision 18499 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/put_bits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h index 2009a2be23..61c6c9b31f 100644 --- a/libavcodec/put_bits.h +++ b/libavcodec/put_bits.h @@ -297,7 +297,7 @@ static inline void skip_put_bits(PutBitContext *s, int n){ s->index += n; #else s->bit_left -= n; - s->buf_ptr-= s->bit_left>>5; + s->buf_ptr-= 4*(s->bit_left>>5); s->bit_left &= 31; #endif } |