[FFmpeg-cvslog] avcodec/ra288: use init_get_bits8()
Michael Niedermayer
git at videolan.org
Thu Jul 4 13:41:04 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 4 13:26:32 2013 +0200| [df6acc81a85170e29f7b578745ed328b21df17d4] | committer: Michael Niedermayer
avcodec/ra288: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df6acc81a85170e29f7b578745ed328b21df17d4
---
libavcodec/ra288.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index 393ea0b..8590c7c 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)];
More information about the ffmpeg-cvslog
mailing list