]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ffv1.h
avcodec/rawdec: check for side data before checking its size
[ffmpeg] / libavcodec / ffv1.h
index 5f4a340a8784a110b0ecbb1f9f4c3dd93d0c8743..c2bae1e6da178452d09e8017b2078826df665c71 100644 (file)
@@ -109,6 +109,9 @@ typedef struct FFV1Context {
     int run_index;
     int colorspace;
     int16_t *sample_buffer;
+    int32_t *sample_buffer32;
+
+    int use32bit;
 
     int ec;
     int intra;
@@ -198,4 +201,10 @@ static inline void update_vlc_state(VlcState *const state, const int v)
 #undef TYPE
 #undef RENAME
 
+#define TYPE int32_t
+#define RENAME(name) name ## 32
+#include "ffv1_template.c"
+#undef TYPE
+#undef RENAME
+
 #endif /* AVCODEC_FFV1_H */