]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/nellymoserdec.c
Use skip_bits_long() for large skips
[frescor/ffmpeg.git] / libavcodec / nellymoserdec.c
index 94f441890eb6353315a79d5e9ea9a9bbdccfc568..98f0ec32248e18691fe1125882f9226541e45783 100644 (file)
@@ -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) {