mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
mss4: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
742c392885
commit
b6d5a948f9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user