Fix skip_put_bits() buf_ptr increment.
Originally committed as revision 18499 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0aed5e9fb8
commit
ad25b95470
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user