From a25dac976a4478331e4db86d44c3db4456c93eff Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 6 Jun 2016 13:20:17 +0200 Subject: Use bitstream_init8() where appropriate --- libavcodec/escape124.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/escape124.c') diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c index 879f00a73c..86a63a434e 100644 --- a/libavcodec/escape124.c +++ b/libavcodec/escape124.c @@ -217,7 +217,7 @@ static int escape124_decode_frame(AVCodecContext *avctx, unsigned old_stride, new_stride; int ret; - bitstream_init(&bc, buf, buf_size * 8); + bitstream_init8(&bc, buf, buf_size); // This call also guards the potential depth reads for the // codebook unpacking. -- cgit v1.2.3