Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-23 23:06:22 +0300
committerPaul B Mahol <onemda@gmail.com>2018-12-23 23:16:07 +0300
commitc4a05ae65c3903c9be3b187213fd9fa41c660d6d (patch)
treebb754316ca5982fbb7996c061ed69bc35295e077 /libavcodec/wmavoice.c
parente483606d4455678c9dc301ca7c69a2696c23cbd8 (diff)
avcodec/wmavoice: use init_get_bits8()
Diffstat (limited to 'libavcodec/wmavoice.c')
-rw-r--r--libavcodec/wmavoice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index 444e303b0d..68bb65986e 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -1906,7 +1906,7 @@ static int wmavoice_decode_packet(AVCodecContext *ctx, void *data,
* in a single "muxer" packet, so we artificially emulate that by
* capping the packet size at ctx->block_align. */
for (size = avpkt->size; size > ctx->block_align; size -= ctx->block_align);
- init_get_bits(&s->gb, avpkt->data, size << 3);
+ init_get_bits8(&s->gb, avpkt->data, size);
/* size == ctx->block_align is used to indicate whether we are dealing with
* a new packet or a packet of which we already read the packet header