avcodec/ra288: use init_get_bits8()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Jul 2013 11:26:32 +0000 (13:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Jul 2013 11:40:08 +0000 (13:40 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ra288.c

index 393ea0bfbf3bf05c029cefa7905e9eeee3befde7..8590c7cd32e8eed4ec743c6c617dc1274aa1307a 100644 (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)];