aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-20 21:19:56 +0100
committerPaul B Mahol <onemda@gmail.com>2018-12-20 21:19:56 +0100
commit1b4c01631b1a2019e392eaf011f1e3f15a97fb77 (patch)
tree77ab5438bfd497566c16808360858a56930a4507
parentd6951e595a2b5ca54522f0b011845508bb2c266a (diff)
downloadffmpeg-1b4c01631b1a2019e392eaf011f1e3f15a97fb77.tar.gz
avcodec/vc1_parser: use init_get_bits8()
-rw-r--r--libavcodec/vc1_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c
index bb54947f55..493ffde611 100644
--- a/libavcodec/vc1_parser.c
+++ b/libavcodec/vc1_parser.c
@@ -67,7 +67,7 @@ static void vc1_extract_header(AVCodecParserContext *s, AVCodecContext *avctx,
int ret;
vpc->v.s.avctx = avctx;
vpc->v.parse_only = 1;
- init_get_bits(&gb, buf, buf_size * 8);
+ init_get_bits8(&gb, buf, buf_size);
switch (vpc->prev_start_code) {
case VC1_CODE_SEQHDR & 0xFF:
ff_vc1_decode_sequence_header(avctx, &vpc->v, &gb);