Commit 6ed1aa4f authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ra144dec: use init_get_bits8()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 77e37c34
...@@ -89,7 +89,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data, ...@@ -89,7 +89,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data,
return ret; return ret;
samples = (int16_t *)frame->data[0]; samples = (int16_t *)frame->data[0];
init_get_bits(&gb, buf, FRAME_SIZE * 8); init_get_bits8(&gb, buf, FRAME_SIZE);
for (i = 0; i < LPC_ORDER; i++) for (i = 0; i < LPC_ORDER; i++)
lpc_refl[i] = ff_lpc_refl_cb[i][get_bits(&gb, sizes[i])]; lpc_refl[i] = ff_lpc_refl_cb[i][get_bits(&gb, sizes[i])];
......
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