aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpc7.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-05-14 00:02:07 +0000
committerDavid Conrad <lessen42@gmail.com>2009-05-14 00:02:07 +0000
commit0a8dedc9e18eb112ea468f5bf0f32bdec74cdd64 (patch)
tree2a620a5f9576bbfccdb0b77f06b01bad453a22fe /libavcodec/mpc7.c
parent97d4318347bb298eed36ef53e5264cb065f7993e (diff)
downloadffmpeg-0a8dedc9e18eb112ea468f5bf0f32bdec74cdd64.tar.gz
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.c2
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",