changeset 9433:70afd9081b3f libavcodec

Fix skip_put_bits() buf_ptr increment.
author stefano
date Mon, 13 Apr 2009 20:44:42 +0000
parents c9fda17dc042
children 9e8931fef1c1
files put_bits.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/put_bits.h	Mon Apr 13 18:07:02 2009 +0000
+++ b/put_bits.h	Mon Apr 13 20:44:42 2009 +0000
@@ -297,7 +297,7 @@
     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
 }