diff mbox

[FFmpeg-devel,1/2] avcodec/get_bits: cosmetics

Message ID 20191105101350.3931-1-ramiro.polla@gmail.com
State New
Headers show

Commit Message

Ramiro Polla Nov. 5, 2019, 10:13 a.m. UTC
---
 libavcodec/get_bits.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Michael Niedermayer Nov. 5, 2019, 1:35 p.m. UTC | #1
On Tue, Nov 05, 2019 at 11:13:49AM +0100, Ramiro Polla wrote:
> ---
>  libavcodec/get_bits.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

LGTM

thx

[...]
Ramiro Polla March 22, 2020, 2:45 p.m. UTC | #2
On Tue, Nov 5, 2019 at 2:35 PM Michael Niedermayer
<michael@niedermayer.cc> wrote:
> On Tue, Nov 05, 2019 at 11:13:49AM +0100, Ramiro Polla wrote:
> >  libavcodec/get_bits.h | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
>
> LGTM

ping
James Almer March 22, 2020, 2:57 p.m. UTC | #3
On 3/22/2020 11:45 AM, Ramiro Polla wrote:
> On Tue, Nov 5, 2019 at 2:35 PM Michael Niedermayer
> <michael@niedermayer.cc> wrote:
>> On Tue, Nov 05, 2019 at 11:13:49AM +0100, Ramiro Polla wrote:
>>>  libavcodec/get_bits.h | 8 ++++----
>>>  1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> LGTM
> 
> ping

Applied.
Carl Eugen Hoyos March 22, 2020, 4:25 p.m. UTC | #4
Am So., 22. März 2020 um 15:54 Uhr schrieb Ramiro Polla
<ramiro.polla@gmail.com>:
>
> On Tue, Nov 5, 2019 at 2:35 PM Michael Niedermayer
> <michael@niedermayer.cc> wrote:
> > On Tue, Nov 05, 2019 at 11:13:49AM +0100, Ramiro Polla wrote:
> > >  libavcodec/get_bits.h | 8 ++++----
> > >  1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > LGTM
>
> ping

If you lost your git key, please send a new public key to Michael.

Carl Eugen
diff mbox

Patch

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;
 }