diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-02-27 09:30:13 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-02-27 09:30:13 +0000 |
commit | aa7a2fa58fdb9b9d15c0e3b20411ef24228dd7e2 (patch) | |
tree | 88187f6a0ca578112d90a8f76aeef8eb0c30397f | |
parent | 5440076303dfc4bca45a4ad93be1930b69f56ab6 (diff) | |
download | ffmpeg-aa7a2fa58fdb9b9d15c0e3b20411ef24228dd7e2.tar.gz |
avcodec/hqx: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/hqx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hqx.c b/libavcodec/hqx.c index 9b8b1ada95..d7e605f63e 100644 --- a/libavcodec/hqx.c +++ b/libavcodec/hqx.c @@ -590,8 +590,8 @@ static int hqx_decode_frame(AVCodecContext *avctx, void *data, av_log(avctx, AV_LOG_ERROR, "Invalid slice size.\n"); break; } - ret = init_get_bits(&gb, src + slice_off[slice], - (slice_off[slice + 1] - slice_off[slice]) * 8); + ret = init_get_bits8(&gb, src + slice_off[slice], + slice_off[slice + 1] - slice_off[slice]); if (ret < 0) return ret; ret = decode_slice(ctx, pic, &gb, slice, decode_func); |