avcodec/svq1dec: use init_get_bits8()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Jul 2013 11:30:40 +0000 (13:30 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Jul 2013 11:40:08 +0000 (13:40 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/svq1dec.c

index bec81c18830ba12661a3ad1a759c1bb583e440e2..86fe6f88134293956f900d0abb983d5033914fec 100644 (file)
@@ -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);