mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/wmadec: cosmetics
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
c2b540d0c7
commit
c455a28a9e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user