summaryrefslogtreecommitdiff
path: root/libavcodec/proresdsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/proresdsp.h')
-rw-r--r--libavcodec/proresdsp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/proresdsp.h b/libavcodec/proresdsp.h
index 159862ec3d..558fae53bf 100644
--- a/libavcodec/proresdsp.h
+++ b/libavcodec/proresdsp.h
@@ -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);