Commit 22458ccb authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/tta: use init_get_bits8()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 89c3f5a9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment