diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-04-18 12:08:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-04-18 12:08:16 +0000 |
commit | 5bb8a0daa1bd660fd70261eaf2bba44f7aab1cd5 (patch) | |
tree | be0d19c6f7aa4c3f6ea1e16e8bdb1d8520471f01 /libavcodec/bitstream.h | |
parent | 8230cf0210c9845cfbe291b91c518a062da55c0c (diff) | |
download | ffmpeg-5bb8a0daa1bd660fd70261eaf2bba44f7aab1cd5.tar.gz |
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.h | 2 |
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;\ }\ |