[FFmpeg-cvslog] avcodec/lagarith: use init_get_bits8()
Michael Niedermayer
git at videolan.org
Mon Dec 30 14:13:41 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Dec 30 13:49:49 2013 +0100| [afd1245433e976f197acfd21550f1b60356b44a9] | committer: Michael Niedermayer
avcodec/lagarith: use init_get_bits8()
Suggested-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=afd1245433e976f197acfd21550f1b60356b44a9
---
libavcodec/lagarith.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index 66346d0..0e6bb01 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;
More information about the ffmpeg-cvslog
mailing list