diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-08 16:03:46 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-29 17:54:24 +0200 |
commit | 15b4f494fc6bddb8178fdb5aed18b420efc75e22 (patch) | |
tree | 531be9fa9f23191c80912058d186a803b0804d18 /libavcodec/mss34dsp.h | |
parent | a339e919cad1ab0125948f0dd9d49f6cb590db89 (diff) | |
download | ffmpeg-15b4f494fc6bddb8178fdb5aed18b420efc75e22.tar.gz |
mss*: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/mss34dsp.h')
-rw-r--r-- | libavcodec/mss34dsp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mss34dsp.h b/libavcodec/mss34dsp.h index b2cc5501ec..cec82474d7 100644 --- a/libavcodec/mss34dsp.h +++ b/libavcodec/mss34dsp.h @@ -22,6 +22,7 @@ #ifndef AVCODEC_MSS34DSP_H #define AVCODEC_MSS34DSP_H +#include <stddef.h> #include <stdint.h> /** @@ -40,6 +41,6 @@ void ff_mss34_gen_quant_mat(uint16_t *qmat, int quality, int luma); * @param stride output plane stride * @param block block to transform and output */ -void ff_mss34_dct_put(uint8_t *dst, int stride, int *block); +void ff_mss34_dct_put(uint8_t *dst, ptrdiff_t stride, int *block); #endif /* AVCODEC_MSS34DSP_H */ |