Message ID | 20191105101350.3931-2-ramiro.polla@gmail.com |
---|---|
State | New |
Headers | show |
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 [...]
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
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 --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 */