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

Submitted by Ramiro Polla on Nov. 5, 2019, 10:13 a.m.

Details

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

Commit Message

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

Comments

Michael Niedermayer Nov. 5, 2019, 1:35 p.m.
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

[...]

Patch hide | download patch | download mbox

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 */