mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
loco: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
e7834d29f2
commit
920046abf1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user