aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vble.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/vble.c
parent71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5 (diff)
downloadffmpeg-a25dac976a4478331e4db86d44c3db4456c93eff.tar.gz
Use bitstream_init8() where appropriate
Diffstat (limited to 'libavcodec/vble.c')
-rw-r--r--libavcodec/vble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vble.c b/libavcodec/vble.c
index fef10903dd..75db27ff09 100644
--- a/libavcodec/vble.c
+++ b/libavcodec/vble.c
@@ -140,7 +140,7 @@ static int vble_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
if (version != 1)
av_log(avctx, AV_LOG_WARNING, "Unsupported VBLE Version: %d\n", version);
- bitstream_init(&bc, src + 4, (avpkt->size - 4) * 8);
+ bitstream_init8(&bc, src + 4, avpkt->size - 4);
/* Unpack */
if (vble_unpack(ctx, &bc) < 0) {