diff mbox

[FFmpeg-devel,2/2] avcodec/wmadec: cosmetics

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

Commit Message

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

Comments

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

LGTM

thx

[...]
Ramiro Polla March 22, 2020, 2:46 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:50AM +0100, Ramiro Polla wrote:
> >  libavcodec/wmadec.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
>
> LGTM

ping
James Almer March 22, 2020, 2:56 p.m. UTC | #3
On 3/22/2020 11:46 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:50AM +0100, Ramiro Polla wrote:
>>>  libavcodec/wmadec.c | 4 ++--
>>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> LGTM
> 
> ping

Applied.
diff mbox

Patch

diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index 78b51e5871..e7886262f3 100644
--- a/libavcodec/wmadec.c
+++ b/libavcodec/wmadec.c
@@ -889,11 +889,11 @@  static int wma_decode_superframe(AVCodecContext *avctx, void *data,
             q   = s->last_superframe + s->last_superframe_len;
             len = bit_offset;
             while (len > 7) {
-                *q++ = (get_bits) (&s->gb, 8);
+                *q++ = get_bits(&s->gb, 8);
                 len -= 8;
             }
             if (len > 0)
-                *q++ = (get_bits) (&s->gb, len) << (8 - len);
+                *q++ = get_bits(&s->gb, len) << (8 - len);
             memset(q, 0, AV_INPUT_BUFFER_PADDING_SIZE);
 
             /* XXX: bit_offset bits into last frame */