Commit cecc4ea1 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/evrcdec: use init_get_bits8()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 63cb546f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment