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/asvdec.c | |
parent | 71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5 (diff) | |
download | ffmpeg-a25dac976a4478331e4db86d44c3db4456c93eff.tar.gz |
Use bitstream_init8() where appropriate
Diffstat (limited to 'libavcodec/asvdec.c')
-rw-r--r-- | libavcodec/asvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/asvdec.c b/libavcodec/asvdec.c index cbda63d3b0..bd87512d13 100644 --- a/libavcodec/asvdec.c +++ b/libavcodec/asvdec.c @@ -232,7 +232,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, a->bitstream_buffer[i] = ff_reverse[buf[i]]; } - bitstream_init(&a->bc, a->bitstream_buffer, buf_size * 8); + bitstream_init8(&a->bc, a->bitstream_buffer, buf_size); for (mb_y = 0; mb_y < a->mb_height2; mb_y++) { for (mb_x = 0; mb_x < a->mb_width2; mb_x++) { |