From 920046abf1928a394025f237eb888d267f12e14a Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 21 Aug 2013 20:29:05 +0000 Subject: [PATCH] loco: use init_get_bits8() Signed-off-by: Paul B Mahol --- libavcodec/loco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/loco.c b/libavcodec/loco.c index ffb97422e9..81a93c8215 100644 --- a/libavcodec/loco.c +++ b/libavcodec/loco.c @@ -135,7 +135,7 @@ static int loco_decode_plane(LOCOContext *l, uint8_t *data, int width, int heigh if(buf_size<=0) return -1; - init_get_bits(&rc.gb, buf, buf_size*8); + init_get_bits8(&rc.gb, buf, buf_size); rc.save = 0; rc.run = 0; rc.run2 = 0;