diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c index 83e1aa4781..c5b8d47c5e 100644 --- a/libavcodec/mpc7.c +++ b/libavcodec/mpc7.c @@ -206,7 +206,7 @@ static int mpc7_decode_frame(AVCodecContext * avctx, bits = av_malloc(((buf_size - 1) & ~3) + FF_INPUT_BUFFER_PADDING_SIZE); c->dsp.bswap_buf((uint32_t*)bits, (const uint32_t*)(buf + 4), (buf_size - 4) >> 2); init_get_bits(&gb, bits, (buf_size - 4)* 8); - skip_bits(&gb, buf[0]); + skip_bits_long(&gb, buf[0]); /* read subband indexes */ for(i = 0; i <= c->maxbands; i++){