diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-06-06 13:20:17 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-02-07 18:27:21 +0100 |
commit | a25dac976a4478331e4db86d44c3db4456c93eff (patch) | |
tree | be0638f8ebcb9e00dfdad10a73d0fc5ccee03293 /libavcodec/jvdec.c | |
parent | 71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5 (diff) | |
download | ffmpeg-a25dac976a4478331e4db86d44c3db4456c93eff.tar.gz |
Use bitstream_init8() where appropriate
Diffstat (limited to 'libavcodec/jvdec.c')
-rw-r--r-- | libavcodec/jvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c index 37a2770063..5f5a825cd7 100644 --- a/libavcodec/jvdec.c +++ b/libavcodec/jvdec.c @@ -164,7 +164,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, if (video_type == 0 || video_type == 1) { BitstreamContext bc; - bitstream_init(&bc, buf, 8 * FFMIN(video_size, buf_end - buf)); + bitstream_init8(&bc, buf, FFMIN(video_size, buf_end - buf)); for (j = 0; j < avctx->height; j += 8) for (i = 0; i < avctx->width; i += 8) |