]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/tiertexseqv.c
frsh: Export information about the last RTP contract and VRES
[frescor/ffmpeg.git] / libavcodec / tiertexseqv.c
index fdf635864e5ed4c77ad45032e0157f5c13f04d8a..66055937feab50d5875d3477dace3b70ad2b9d6d 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "avcodec.h"
 #define ALT_BITSTREAM_READER_LE
-#include "bitstream.h"
+#include "get_bits.h"
 
 
 typedef struct SeqVideoContext {
@@ -187,8 +187,10 @@ static av_cold int seqvideo_decode_init(AVCodecContext *avctx)
 
 static int seqvideo_decode_frame(AVCodecContext *avctx,
                                  void *data, int *data_size,
-                                 const uint8_t *buf, int buf_size)
+                                 AVPacket *avpkt)
 {
+    const uint8_t *buf = avpkt->data;
+    int buf_size = avpkt->size;
 
     SeqVideoContext *seq = avctx->priv_data;