summaryrefslogtreecommitdiff
path: root/libavcodec/ra288.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-04 13:26:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-04 13:40:08 +0200
commitdf6acc81a85170e29f7b578745ed328b21df17d4 (patch)
treecbb20876d1189a1b2b8dd4eb0451427f197d0884 /libavcodec/ra288.c
parentd2ce3b3857b2a95e293fe6ed8094cf91b5f96769 (diff)
downloadffmpeg-df6acc81a85170e29f7b578745ed328b21df17d4.tar.gz
avcodec/ra288: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ra288.c')
-rw-r--r--libavcodec/ra288.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index 393ea0bfbf..8590c7cd32 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -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)];