]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ffv1.h
h264_parser: Fix POC parsing for the case where MMCO_RESET is present.
[ffmpeg] / libavcodec / ffv1.h
index 74f1159537de770383e3e0fec33d9468b3187909..43c96079ae5fe3bfdc902d741b9e0c965b3ff1ac 100644 (file)
 
 #ifndef AVCODEC_FFV1_H
 #define AVCODEC_FFV1_H
+
+#include <stdint.h>
+
 #include "avcodec.h"
+#include "dsputil.h"
+#include "get_bits.h"
+#include "put_bits.h"
+#include "rangecoder.h"
 
 #define MAX_PLANES 4
 #define CONTEXT_SIZE 32
@@ -73,6 +80,8 @@ typedef struct FFV1Context {
     int flags;
     int picture_number;
     AVFrame picture, last_picture;
+
+    AVFrame *cur;
     int plane_count;
     int ac;     // 1 = range coder <-> 0 = golomb rice
     int ac_byte_count;      // number of bytes used for AC coding