[FFmpeg-cvslog] avcodec/webp: use init_get_bits8()
Paul B Mahol
git at videolan.org
Wed Feb 4 10:59:12 CET 2015
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Feb 3 14:58:22 2015 +0000| [6e7ac5ee554b4feb130097a52a4b23ab1367ab17] | committer: Paul B Mahol
avcodec/webp: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6e7ac5ee554b4feb130097a52a4b23ab1367ab17
---
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;
More information about the ffmpeg-cvslog
mailing list