diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2019-11-05 11:13:49 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-03-22 11:55:44 -0300 |
commit | c2b540d0c792e840f67eab2c7053b3a1df7db8de (patch) | |
tree | a705aeeea511cf42fbf09b5e18ec193537e0b9d2 /libavcodec/get_bits.h | |
parent | a289cc564338e4278bad07dfaee74c6262bdab30 (diff) | |
download | ffmpeg-c2b540d0c792e840f67eab2c7053b3a1df7db8de.tar.gz |
avcodec/get_bits: cosmetics
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/get_bits.h')
-rw-r--r-- | libavcodec/get_bits.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index c4ab607744..66fb877599 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec/get_bits.h @@ -234,9 +234,9 @@ static inline void refill_32(GetBitContext *s, int is_le) #endif if (is_le) - s->cache = (uint64_t)AV_RL32(s->buffer + (s->index >> 3)) << s->bits_left | s->cache; + s->cache = (uint64_t)AV_RL32(s->buffer + (s->index >> 3)) << s->bits_left | s->cache; else - s->cache = s->cache | (uint64_t)AV_RB32(s->buffer + (s->index >> 3)) << (32 - s->bits_left); + s->cache = s->cache | (uint64_t)AV_RB32(s->buffer + (s->index >> 3)) << (32 - s->bits_left); s->index += 32; s->bits_left += 32; } @@ -249,9 +249,9 @@ static inline void refill_64(GetBitContext *s, int is_le) #endif if (is_le) - s->cache = AV_RL64(s->buffer + (s->index >> 3)); + s->cache = AV_RL64(s->buffer + (s->index >> 3)); else - s->cache = AV_RB64(s->buffer + (s->index >> 3)); + s->cache = AV_RB64(s->buffer + (s->index >> 3)); s->index += 64; s->bits_left = 64; } |