diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-30 13:49:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-30 13:49:49 +0100 |
commit | afd1245433e976f197acfd21550f1b60356b44a9 (patch) | |
tree | 4a4644ae1b155a241fc0679f5fabed1a0f9e0d6a /libavcodec | |
parent | 6f1b2967712e25e4c39c506862982b3011e06532 (diff) | |
download | ffmpeg-afd1245433e976f197acfd21550f1b60356b44a9.tar.gz |
avcodec/lagarith: use init_get_bits8()
Suggested-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/lagarith.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c index 66346d0d18..0e6bb01718 100644 --- a/libavcodec/lagarith.c +++ b/libavcodec/lagarith.c @@ -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; |