avcodec/ra144dec: use init_get_bits8()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 08:13:21 +0000 (10:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 08:13:21 +0000 (10:13 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ra144dec.c

index 9969fd8..0492d1f 100644 (file)
@@ -89,7 +89,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data,
         return ret;
     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++)
         lpc_refl[i] = ff_lpc_refl_cb[i][get_bits(&gb, sizes[i])];