Signed-off-by: Paul B Mahol <[email protected]>
---
libavcodec/webp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index 4b1c8e7..e0f7239 100644
--- a/libavcodec/webp.c
+++ b/libavcodec/webp.c
@@ -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;
--
1.7.11.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel