]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavformat/oggparsetheora.c
frsh: Export information about the last RTP contract and VRES
[frescor/ffmpeg.git] / libavformat / oggparsetheora.c
index 2d362e6ecce75a0b83638770ebd518c2e27d86a5..96c432f9930bc37c3fe25f2c3756923141ec5cb8 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <stdlib.h>
 #include "libavutil/bswap.h"
-#include "libavcodec/bitstream.h"
+#include "libavcodec/get_bits.h"
 #include "avformat.h"
 #include "oggdec.h"
 
@@ -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);