aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-04-11 10:06:01 +0000
committerPaul B Mahol <onemda@gmail.com>2013-04-11 10:40:15 +0000
commitb6d5a948f9165bde6b97e58100197878369be0b7 (patch)
treef03621d84cce073a0517886501b34c0384c48493 /libavcodec
parent742c392885b907f4f1cf092d3e62f82b4551abf3 (diff)
downloadffmpeg-b6d5a948f9165bde6b97e58100197878369be0b7.tar.gz
mss4: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mss4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mss4.c b/libavcodec/mss4.c
index 391805fa4e..aad321a01d 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;