Skip to content
Snippets Groups Projects
Commit 6ed1aa4f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/ra144dec: use init_get_bits8()

parent 77e37c34
No related branches found
No related tags found
No related merge requests found
...@@ -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])];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment