mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +00:00
avcodec/mpc8: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
7d169ba1d8
commit
207fa224a0
@ -261,7 +261,9 @@ static int mpc8_decode_frame(AVCodecContext * avctx, void *data,
|
||||
memset(c->Q, 0, sizeof(c->Q));
|
||||
c->last_bits_used = 0;
|
||||
}
|
||||
init_get_bits(gb, buf, buf_size * 8);
|
||||
if ((res = init_get_bits8(gb, buf, buf_size)) < 0)
|
||||
return res;
|
||||
|
||||
skip_bits(gb, c->last_bits_used & 7);
|
||||
|
||||
if(keyframe)
|
||||
|
Loading…
Reference in New Issue
Block a user