1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-17 18:01:38 +02:00

avcodec/ra288: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-07-04 13:26:32 +02:00
parent d2ce3b3857
commit df6acc81a8

View File

@ -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)];