Commit df6acc81 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ra288: use init_get_bits8()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d2ce3b38
......@@ -202,7 +202,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
return ret;
out = (float *)frame->data[0];
init_get_bits(&gb, buf, avctx->block_align * 8);
init_get_bits8(&gb, buf, avctx->block_align);
for (i=0; i < RA288_BLOCKS_PER_FRAME; i++) {
float gain = amptable[get_bits(&gb, 3)];
......
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