summaryrefslogtreecommitdiffstats
path: root/libavcodec/indeo2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/indeo2.c')
-rw-r--r--libavcodec/indeo2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c
index de2a9bb..811056d 100644
--- a/libavcodec/indeo2.c
+++ b/libavcodec/indeo2.c
@@ -171,7 +171,7 @@ static int ir2_decode_frame(AVCodecContext *avctx,
buf[i] = ff_reverse[buf[i]];
#endif
- bitstream_init(&s->bc, buf + start, (buf_size - start) * 8);
+ bitstream_init8(&s->bc, buf + start, buf_size - start);
ltab = buf[0x22] & 3;
ctab = buf[0x22] >> 2;
OpenPOWER on IntegriCloud