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 /libavformat/oggparsetheora.c | |
parent | 97d4318347bb298eed36ef53e5264cb065f7993e (diff) | |
download | ffmpeg-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 'libavformat/oggparsetheora.c')
-rw-r--r-- | libavformat/oggparsetheora.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c index d8b4d6ccef..96c432f993 100644 --- a/libavformat/oggparsetheora.c +++ b/libavformat/oggparsetheora.c @@ -58,7 +58,7 @@ theora_header (AVFormatContext * s, int idx) init_get_bits(&gb, os->buf + os->pstart, os->psize*8); - skip_bits(&gb, 7*8); /* 0x80"theora" */ + skip_bits_long(&gb, 7*8); /* 0x80"theora" */ thp->version = get_bits_long(&gb, 24); if (thp->version < 0x030100) @@ -92,7 +92,7 @@ theora_header (AVFormatContext * s, int idx) st->sample_aspect_ratio.den = get_bits_long(&gb, 24); if (thp->version >= 0x030200) - skip_bits(&gb, 38); + skip_bits_long(&gb, 38); if (thp->version >= 0x304000) skip_bits(&gb, 2); |