summaryrefslogtreecommitdiff
path: root/libavcodec/utvideodec.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/utvideodec.c
parent71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5 (diff)
downloadffmpeg-a25dac976a4478331e4db86d44c3db4456c93eff.tar.gz
Use bitstream_init8() where appropriate
Diffstat (limited to 'libavcodec/utvideodec.c')
-rw-r--r--libavcodec/utvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 29de815d4e..1f5b02f560 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -147,7 +147,7 @@ static int decode_plane(UtvideoContext *c, int plane_no,
c->bdsp.bswap_buf((uint32_t *) c->slice_bits,
(uint32_t *) c->slice_bits,
(slice_data_end - slice_data_start + 3) >> 2);
- bitstream_init(&bc, c->slice_bits, slice_size * 8);
+ bitstream_init8(&bc, c->slice_bits, slice_size);
prev = 0x80;
for (j = sstart; j < send; j++) {