alac: use init_get_bits8()

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

@ -443,7 +443,8 @@ static int alac_decode_frame(AVCodecContext *avctx, void *data,
int channels;
int ch, ret, got_end;
init_get_bits(&alac->gb, avpkt->data, avpkt->size * 8);
if ((ret = init_get_bits8(&alac->gb, avpkt->data, avpkt->size)) < 0)
return ret;
got_end = 0;
alac->nb_samples = 0;

Loading…
Cancel
Save