summaryrefslogtreecommitdiff
path: root/libavcodec/loco.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-08-21 20:29:05 +0000
committerPaul B Mahol <onemda@gmail.com>2013-08-21 20:29:05 +0000
commit920046abf1928a394025f237eb888d267f12e14a (patch)
tree7c68e6aa2161fd2271dd518099d58e3c2f2eaa09 /libavcodec/loco.c
parente7834d29f2a8f572a5bdf173d56b5a9b5af16043 (diff)
downloadffmpeg-920046abf1928a394025f237eb888d267f12e14a.tar.gz
loco: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/loco.c')
-rw-r--r--libavcodec/loco.c2
1 files changed, 1 insertions, 1 deletions
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;