avcodec/diracdec: use init_get_bits8()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 08:13:48 +0000 (10:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 08:13:48 +0000 (10:13 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/diracdec.c

index 81d2b6509eb6043c5bed83478ec9f789fc66c902..7468280637f35e43988cd6e37041b655af552ef6 100644 (file)
@@ -567,7 +567,7 @@ static av_always_inline void decode_subband_internal(DiracContext *s, SubBand *b
     if (!b->length)
         return;
 
-    init_get_bits(&gb, b->coeff_data, b->length*8);
+    init_get_bits8(&gb, b->coeff_data, b->length);
 
     if (is_arith)
         ff_dirac_init_arith_decoder(&c, &gb, b->length);