]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/proresdec.h
avcodec/avcodec: Use avcodec_close() on avcodec_open2() failure
[ffmpeg] / libavcodec / proresdec.h
index 14ede5d16bf263a3cf647fefe201398b74db2207..06e41dd09ad088b0768ac2b4f10dadd30c84d92b 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef AVCODEC_PRORESDEC_H
 #define AVCODEC_PRORESDEC_H
 
+#include "get_bits.h"
 #include "blockdsp.h"
 #include "proresdsp.h"
 
@@ -50,6 +51,7 @@ typedef struct {
     const uint8_t *scan;
     int first_field;
     int alpha_info;
+    void (*unpack_alpha)(GetBitContext *gb, uint16_t *dst, int num_coeffs, const int num_bits);
 } ProresContext;
 
 #endif /* AVCODEC_PRORESDEC_H */