[FFmpeg-cvslog] avcodec/tta: use init_get_bits8()

Michael Niedermayer git at videolan.org
Mon Aug 5 10:41:18 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug  5 10:15:03 2013 +0200| [22458ccbcc0c512dc2a3143ecdb0a84534c4294f] | committer: Michael Niedermayer

avcodec/tta: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=22458ccbcc0c512dc2a3143ecdb0a84534c4294f
---

 libavcodec/tta.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 6697d84..b5ddec4 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -160,7 +160,7 @@ static av_cold int tta_decode_init(AVCodecContext * avctx)
         return AVERROR_INVALIDDATA;
 
     s->crc_table = av_crc_get_table(AV_CRC_32_IEEE_LE);
-    init_get_bits(&gb, avctx->extradata, avctx->extradata_size * 8);
+    init_get_bits8(&gb, avctx->extradata, avctx->extradata_size);
     if (show_bits_long(&gb, 32) == AV_RL32("TTA1")) {
         /* signature */
         skip_bits_long(&gb, 32);



More information about the ffmpeg-cvslog mailing list