Commit c455a28a authored by Ramiro Polla's avatar Ramiro Polla Committed by James Almer

avcodec/wmadec: cosmetics

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent c2b540d0
......@@ -895,11 +895,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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment