diff options
author | David Conrad <lessen42@gmail.com> | 2009-05-14 00:02:07 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2009-05-14 00:02:07 +0000 |
commit | 0a8dedc9e18eb112ea468f5bf0f32bdec74cdd64 (patch) | |
tree | 2a620a5f9576bbfccdb0b77f06b01bad453a22fe /libavcodec/nellymoserdec.c | |
parent | 97d4318347bb298eed36ef53e5264cb065f7993e (diff) | |
download | ffmpeg-streaming-0a8dedc9e18eb112ea468f5bf0f32bdec74cdd64.zip ffmpeg-streaming-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/nellymoserdec.c')
-rw-r--r-- | libavcodec/nellymoserdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index 94f4418..98f0ec3 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -103,7 +103,7 @@ static void nelly_decode_block(NellyMoserDecodeContext *s, aptr = audio + i * NELLY_BUF_LEN; init_get_bits(&s->gb, block, NELLY_BLOCK_LEN * 8); - skip_bits(&s->gb, NELLY_HEADER_BITS + i*NELLY_DETAIL_BITS); + skip_bits_long(&s->gb, NELLY_HEADER_BITS + i*NELLY_DETAIL_BITS); for (j = 0; j < NELLY_FILL_LEN; j++) { if (bits[j] <= 0) { |