loco: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-08-21 20:29:05 +00:00
parent e7834d29f2
commit 920046abf1
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ static int loco_decode_plane(LOCOContext *l, uint8_t *data, int width, int heigh
if(buf_size<=0) if(buf_size<=0)
return -1; return -1;
init_get_bits(&rc.gb, buf, buf_size*8); init_get_bits8(&rc.gb, buf, buf_size);
rc.save = 0; rc.save = 0;
rc.run = 0; rc.run = 0;
rc.run2 = 0; rc.run2 = 0;