diff nellymoserdec.c @ 9637:f1dc62781766 libavcodec

Use skip_bits_long() for large skips This fixes ogg/theora on ARM (more generally the A32 bitstream reader)
author conrad
date Thu, 14 May 2009 00:02:07 +0000
parents b10d954527a2
children 67a20f0eb42c
line wrap: on
line diff
--- a/nellymoserdec.c	Wed May 13 22:57:30 2009 +0000
+++ b/nellymoserdec.c	Thu May 14 00:02:07 2009 +0000
@@ -103,7 +103,7 @@
         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) {