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

Michael Niedermayer git at videolan.org
Thu Jul 4 13:41:04 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul  4 13:30:40 2013 +0200| [8c707a129a0f772b063eb475d5e27ac827538b74] | committer: Michael Niedermayer

avcodec/svq1dec: use init_get_bits8()

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

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

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

diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index bec81c1..86fe6f8 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);



More information about the ffmpeg-cvslog mailing list