Commit ad25b954 authored by Stefano Sabatini's avatar Stefano Sabatini

Fix skip_put_bits() buf_ptr increment.

Originally committed as revision 18499 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0aed5e9f
...@@ -297,7 +297,7 @@ static inline void skip_put_bits(PutBitContext *s, int n){ ...@@ -297,7 +297,7 @@ static inline void skip_put_bits(PutBitContext *s, int n){
s->index += n; s->index += n;
#else #else
s->bit_left -= n; s->bit_left -= n;
s->buf_ptr-= s->bit_left>>5; s->buf_ptr-= 4*(s->bit_left>>5);
s->bit_left &= 31; s->bit_left &= 31;
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment