Commit afd12454 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/lagarith: use init_get_bits8()

Suggested-by: Reimar
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6f1b2967
...@@ -444,7 +444,7 @@ static int lag_decode_arith_plane(LagarithContext *l, uint8_t *dst, ...@@ -444,7 +444,7 @@ static int lag_decode_arith_plane(LagarithContext *l, uint8_t *dst,
offset += 4; 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) if (lag_read_prob_header(&rac, &gb) < 0)
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment