mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/evrcdec: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
63cb546f0a
commit
cecc4ea1fc
@ -760,7 +760,8 @@ static int evrc_decode_frame(AVCodecContext *avctx, void *data,
|
||||
&& !e->prev_error_flag)
|
||||
goto erasure;
|
||||
|
||||
init_get_bits(&e->gb, buf, 8 * buf_size);
|
||||
if ((ret = init_get_bits8(&e->gb, buf, buf_size)) < 0)
|
||||
return ret;
|
||||
memset(&e->frame, 0, sizeof(EVRCAFrame));
|
||||
|
||||
unpack_frame(e);
|
||||
|
Loading…
Reference in New Issue
Block a user