[FFmpeg-cvslog] mss4: use init_get_bits8()

Paul B Mahol git at videolan.org
Thu Apr 11 12:40:56 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Apr 11 10:06:01 2013 +0000| [b6d5a948f9165bde6b97e58100197878369be0b7] | committer: Paul B Mahol

mss4: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

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

diff --git a/libavcodec/mss4.c b/libavcodec/mss4.c
index 391805f..aad321a 100644
--- a/libavcodec/mss4.c
+++ b/libavcodec/mss4.c
@@ -573,7 +573,7 @@ static int mss4_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
             ff_mss34_gen_quant_mat(c->quant_mat[i], quality, !i);
     }
 
-    init_get_bits(&gb, buf + HEADER_SIZE, (buf_size - HEADER_SIZE) * 8);
+    init_get_bits8(&gb, buf + HEADER_SIZE, (buf_size - HEADER_SIZE));
 
     mb_width  = FFALIGN(width,  16) >> 4;
     mb_height = FFALIGN(height, 16) >> 4;



More information about the ffmpeg-cvslog mailing list