[FFmpeg-cvslog] loco: use init_get_bits8()

Paul B Mahol git at videolan.org
Wed Aug 21 22:31:26 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Aug 21 20:29:05 2013 +0000| [920046abf1928a394025f237eb888d267f12e14a] | committer: Paul B Mahol

loco: 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=920046abf1928a394025f237eb888d267f12e14a
---

 libavcodec/loco.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index ffb9742..81a93c8 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;



More information about the ffmpeg-cvslog mailing list