[FFmpeg-devel] [PATCH 1/4] avcodec/webp: use init_get_bits8()

Paul B Mahol onemda at gmail.com
Tue Feb 3 16:29:44 CET 2015


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 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



More information about the ffmpeg-devel mailing list