mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
avcodec/webp: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
77f326dc36
commit
6e7ac5ee55
@ -1106,7 +1106,7 @@ static int vp8_lossless_decode_frame(AVCodecContext *avctx, AVFrame *p,
|
||||
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)
|
||||
return ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user