aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/eaidct.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-07 17:08:15 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-29 17:54:23 +0200
commita339e919cad1ab0125948f0dd9d49f6cb590db89 (patch)
tree1746791dcd090211317c0918480f4d00e192aac3 /libavcodec/eaidct.c
parentba479f3daafc7e4359ec1212164569ebe59f0bb7 (diff)
downloadffmpeg-a339e919cad1ab0125948f0dd9d49f6cb590db89.tar.gz
ea: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/eaidct.c')
-rw-r--r--libavcodec/eaidct.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/eaidct.c b/libavcodec/eaidct.c
index 5b2db44aff..271e28cb9a 100644
--- a/libavcodec/eaidct.c
+++ b/libavcodec/eaidct.c
@@ -77,7 +77,8 @@ static inline void ea_idct_col(int16_t *dest, const int16_t *src) {
IDCT_COL(dest, src);
}
-void ff_ea_idct_put_c(uint8_t *dest, int linesize, int16_t *block) {
+void ff_ea_idct_put_c(uint8_t *dest, ptrdiff_t linesize, int16_t *block)
+{
int i;
int16_t temp[64];
block[0] += 4;