lavc/tta: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/23/head
Paul B Mahol 12 years ago
parent 96db307b3d
commit 7469be099e
  1. 3
      libavcodec/tta.c

@ -329,7 +329,8 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_INVALIDDATA;
}
init_get_bits(&s->gb, buf, buf_size*8);
if ((ret = init_get_bits8(&s->gb, avpkt->data, avpkt->size)) < 0)
return ret;
/* get output buffer */
frame->nb_samples = framelen;

Loading…
Cancel
Save