[FFmpeg-cvslog] avcodec/diracdec: use init_get_bits8()

Michael Niedermayer git at videolan.org
Mon Aug 5 10:41:16 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug  5 10:13:48 2013 +0200| [5dff269998412a1d155e0597ff48febcd06c3215] | committer: Michael Niedermayer

avcodec/diracdec: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5dff269998412a1d155e0597ff48febcd06c3215
---

 libavcodec/diracdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index 81d2b65..7468280 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -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);



More information about the ffmpeg-cvslog mailing list