From 8c707a129a0f772b063eb475d5e27ac827538b74 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 4 Jul 2013 13:30:40 +0200 Subject: [PATCH] avcodec/svq1dec: use init_get_bits8() Signed-off-by: Michael Niedermayer --- libavcodec/svq1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index bec81c1883..86fe6f8813 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -615,7 +615,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data, svq1_pmv *pmv; /* initialize bit buffer */ - init_get_bits(&s->gb, buf, buf_size * 8); + init_get_bits8(&s->gb, buf, buf_size); /* decode frame header */ s->frame_code = get_bits(&s->gb, 22);