Janne Grunau <[email protected]> writes: > On 2011-12-17 14:26:50 +0000, Mans Rullgard wrote: >> Signed-off-by: Mans Rullgard <[email protected]> >> --- >> libavcodec/get_bits.h | 122 >> +++++++++++++++++++++++++++++-------------------- >> 1 files changed, 73 insertions(+), 49 deletions(-) >> >> diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h >> index 38a7463..4aa5da8 100644 >> --- a/libavcodec/get_bits.h >> +++ b/libavcodec/get_bits.h >> @@ -125,33 +125,37 @@ for examples see get_bits, show_bits, skip_bits, >> get_vlc >> # define MIN_CACHE_BITS 25 >> #endif >> >> -# define OPEN_READER(name, gb) \ >> +#define OPEN_READER(name, gb) \ >> unsigned int name##_index = (gb)->index; \ >> unsigned int av_unused name##_cache = 0 >> >> -# define CLOSE_READER(name, gb) (gb)->index = name##_index >> +#define CLOSE_READER(name, gb) (gb)->index = name##_index >> + >> +#ifdef ALT_BITSTREAM_READER_LE >> >> -# ifdef ALT_BITSTREAM_READER_LE >> # ifdef LONG_BITSTREAM_READER >> -# define UPDATE_CACHE(name, gb) \ >> - name##_cache = AV_RL64((gb)->buffer+(name##_index>>3)) >> >> (name##_index&0x07) >> +# define UPDATE_CACHE(name, gb) name##_cache = \ >> + AV_RL64((gb)->buffer + (name##_index >> 3)) >> (name##_index & 7) > > not really whitespace only change, looks good though
I can add a "mostly" somewhere in the commit message... -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
