aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-02-03 14:58:22 +0000
committerPaul B Mahol <onemda@gmail.com>2015-02-04 09:45:41 +0000
commit6e7ac5ee554b4feb130097a52a4b23ab1367ab17 (patch)
tree764eedfedef64967da78a010be8ca7f790cd10d0
parent77f326dc36b7b600e5aef6b7dca83e8053d9954d (diff)
downloadffmpeg-6e7ac5ee554b4feb130097a52a4b23ab1367ab17.tar.gz
avcodec/webp: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/webp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index 4b1c8e7f8b..e0f7239968 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;