]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/proresdsp.h
Merge commit '3fd22538bc0e0de84b31335266b4b1577d3d609e'
[ffmpeg] / libavcodec / proresdsp.h
index 159862ec3da984f6bbfcff3deb3afec552e4cc6b..558fae53bf10a9d7884915a616fc3a28b804cdf9 100644 (file)
@@ -23,6 +23,7 @@
 #ifndef AVCODEC_PRORESDSP_H
 #define AVCODEC_PRORESDSP_H
 
+#include <stddef.h>
 #include <stdint.h>
 #include "avcodec.h"
 
@@ -31,7 +32,7 @@
 typedef struct ProresDSPContext {
     int idct_permutation_type;
     uint8_t idct_permutation[64];
-    void (* idct_put) (uint16_t *out, int linesize, int16_t *block, const int16_t *qmat);
+    void (*idct_put)(uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat);
 } ProresDSPContext;
 
 void ff_proresdsp_init(ProresDSPContext *dsp, AVCodecContext *avctx);