Commit 641bbd96 authored by Paul B Mahol's avatar Paul B Mahol

vima: switch to init_get_bits8()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 1191db31
......@@ -145,7 +145,8 @@ static int decode_frame(AVCodecContext *avctx, void *data,
if (pkt->size < 13)
return AVERROR_INVALIDDATA;
init_get_bits(&gb, pkt->data, pkt->size * 8);
if ((ret = init_get_bits8(&gb, pkt->data, pkt->size)) < 0)
return ret;
samples = get_bits_long(&gb, 32);
if (samples == 0xffffffff) {
......
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