diff options
author | David Conrad <lessen42@gmail.com> | 2009-05-14 04:02:07 +0400 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2009-05-14 04:02:07 +0400 |
commit | 0a8dedc9e18eb112ea468f5bf0f32bdec74cdd64 (patch) | |
tree | 2a620a5f9576bbfccdb0b77f06b01bad453a22fe /libavcodec/mpc7.c | |
parent | 97d4318347bb298eed36ef53e5264cb065f7993e (diff) |
Use skip_bits_long() for large skips
This fixes ogg/theora on ARM (more generally the A32 bitstream reader)
Originally committed as revision 18819 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpc7.c')
-rw-r--r-- | libavcodec/mpc7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c index a15f117427..614a418684 100644 --- a/libavcodec/mpc7.c +++ b/libavcodec/mpc7.c @@ -78,7 +78,7 @@ static av_cold int mpc7_decode_init(AVCodecContext * avctx) av_log(avctx, AV_LOG_ERROR, "Too many bands: %i\n", c->maxbands); return -1; } - skip_bits(&gb, 88); + skip_bits_long(&gb, 88); c->gapless = get_bits1(&gb); c->lastframelen = get_bits(&gb, 11); av_log(avctx, AV_LOG_DEBUG, "IS: %d, MSS: %d, TG: %d, LFL: %d, bands: %d\n", |