Commit 6e7ac5ee authored by Paul B Mahol's avatar Paul B Mahol

avcodec/webp: use init_get_bits8()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 77f326dc
...@@ -1106,7 +1106,7 @@ static int vp8_lossless_decode_frame(AVCodecContext *avctx, AVFrame *p, ...@@ -1106,7 +1106,7 @@ static int vp8_lossless_decode_frame(AVCodecContext *avctx, AVFrame *p,
avctx->pix_fmt = AV_PIX_FMT_ARGB; avctx->pix_fmt = AV_PIX_FMT_ARGB;
} }
ret = init_get_bits(&s->gb, data_start, data_size * 8); ret = init_get_bits8(&s->gb, data_start, data_size);
if (ret < 0) if (ret < 0)
return ret; return ret;
......
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