mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avcodec/lagarith: use init_get_bits8()
Suggested-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6f1b296771
commit
afd1245433
@ -444,7 +444,7 @@ static int lag_decode_arith_plane(LagarithContext *l, uint8_t *dst,
|
||||
offset += 4;
|
||||
}
|
||||
|
||||
init_get_bits(&gb, src + offset, (src_size - offset) * 8);
|
||||
init_get_bits8(&gb, src + offset, src_size - offset);
|
||||
|
||||
if (lag_read_prob_header(&rac, &gb) < 0)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user