summaryrefslogtreecommitdiff
path: root/libavcodec/ivi.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-06-06 13:20:17 +0200
committerDiego Biurrun <diego@biurrun.de>2017-02-07 18:27:21 +0100
commita25dac976a4478331e4db86d44c3db4456c93eff (patch)
treebe0638f8ebcb9e00dfdad10a73d0fc5ccee03293 /libavcodec/ivi.c
parent71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5 (diff)
Use bitstream_init8() where appropriate
Diffstat (limited to 'libavcodec/ivi.c')
-rw-r--r--libavcodec/ivi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ivi.c b/libavcodec/ivi.c
index a83773443c..2ff4824c92 100644
--- a/libavcodec/ivi.c
+++ b/libavcodec/ivi.c
@@ -1029,7 +1029,7 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
int buf_size = avpkt->size;
int result, p, b;
- bitstream_init(&ctx->bc, buf, buf_size * 8);
+ bitstream_init8(&ctx->bc, buf, buf_size);
ctx->frame_data = buf;
ctx->frame_size = buf_size;