summaryrefslogtreecommitdiff
path: root/libavcodec/aacpsdsp.h
diff options
context:
space:
mode:
authorClément Bœsch <cboesch@gopro.com>2017-06-22 11:24:13 +0200
committerClément Bœsch <u@pkh.me>2017-06-28 12:22:39 +0200
commitb12a36170b1314a991cff0d618a96259d4b172f4 (patch)
tree4e33d5cb39b7cee91e5281e9c80444d32607311b /libavcodec/aacpsdsp.h
parentff0ecef624e933bc73e28c41823f4de04c274edd (diff)
lavc/aacpsdsp: use ptrdiff_t for stride in hybrid_analysis
Diffstat (limited to 'libavcodec/aacpsdsp.h')
-rw-r--r--libavcodec/aacpsdsp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aacpsdsp.h b/libavcodec/aacpsdsp.h
index 3714a08052..917ac5303f 100644
--- a/libavcodec/aacpsdsp.h
+++ b/libavcodec/aacpsdsp.h
@@ -21,6 +21,8 @@
#ifndef AVCODEC_AACPSDSP_H
#define AVCODEC_AACPSDSP_H
+#include <stddef.h>
+
#include "aac_defines.h"
#define PS_QMF_TIME_SLOTS 32
@@ -33,7 +35,7 @@ typedef struct PSDSPContext {
int n);
void (*hybrid_analysis)(INTFLOAT (*out)[2], INTFLOAT (*in)[2],
const INTFLOAT (*filter)[8][2],
- int stride, int n);
+ ptrdiff_t stride, int n);
void (*hybrid_analysis_ileave)(INTFLOAT (*out)[32][2], INTFLOAT L[2][38][64],
int i, int len);
void (*hybrid_synthesis_deint)(INTFLOAT out[2][38][64], INTFLOAT (*in)[32][2],