summaryrefslogtreecommitdiff
path: root/libavcodec/bitstream.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-04-18 12:08:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-04-18 12:08:16 +0000
commit5bb8a0daa1bd660fd70261eaf2bba44f7aab1cd5 (patch)
treebe0d19c6f7aa4c3f6ea1e16e8bdb1d8520471f01 /libavcodec/bitstream.h
parent8230cf0210c9845cfbe291b91c518a062da55c0c (diff)
various fixes related to the non alt_bitstream_reader
Originally committed as revision 4136 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.h')
-rw-r--r--libavcodec/bitstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index e6177ee98c..93e1e4fca2 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -429,7 +429,7 @@ static inline int get_bits_count(GetBitContext *s){
# define UPDATE_CACHE(name, gb)\
if(name##_bit_count >= 0){\
name##_cache+= (int)be2me_16(*(uint16_t*)name##_buffer_ptr) << name##_bit_count;\
- ((uint16_t*)name##_buffer_ptr)++;\
+ name##_buffer_ptr += 2;\
name##_bit_count-= 16;\
}\