X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fimc.c;h=100e6f89412d71c297d2c2199e416db4b5e4fe1f;hb=e3e8eab359238486dc233f7aa89b7bb3cb19ec38;hp=01ab0125f2ccadf974fa3190f63bb7a3b78481e9;hpb=f5b7bd2a7c3f3498119f7c4484962e15e8f2ad26;p=ffmpeg diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 01ab0125f2c..100e6f89412 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -44,6 +44,7 @@ #include "fft.h" #include "internal.h" #include "sinewin.h" +#include "vlc.h" #include "imcdata.h" @@ -1016,7 +1017,7 @@ static int imc_decode_frame(AVCodecContext *avctx, void *data, q->bdsp.bswap16_buf(buf16, (const uint16_t *) buf, IMC_BLOCK_SIZE / 2); - bitstream_init(&q->bc, (const uint8_t*)buf16, IMC_BLOCK_SIZE * 8); + bitstream_init8(&q->bc, (const uint8_t *)buf16, IMC_BLOCK_SIZE); buf += IMC_BLOCK_SIZE;