mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
alac: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
7469be099e
commit
b257d9a01f
@ -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…
Reference in New Issue
Block a user