diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-08-24 00:18:41 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-08-26 11:48:15 +0200 |
commit | f81be06cf614919d71ded29b8f595bef40123ad8 (patch) | |
tree | ceb598521b4b3b061ddcb92547e2e54b430e0a24 /libavcodec/cavsdec.c | |
parent | 802727b538b484e3f9d1345bfcc4ab24cfea8898 (diff) | |
download | ffmpeg-streaming-f81be06cf614919d71ded29b8f595bef40123ad8.zip ffmpeg-streaming-f81be06cf614919d71ded29b8f595bef40123ad8.tar.gz |
cavs: Change type of stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/cavsdec.c')
-rw-r--r-- | libavcodec/cavsdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index a455a34..1c4f276 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -547,7 +547,7 @@ static inline int dequant(AVSContext *h, int16_t *level_buf, uint8_t *run_buf, */ static int decode_residual_block(AVSContext *h, GetBitContext *gb, const struct dec_2dvlc *r, int esc_golomb_order, - int qp, uint8_t *dst, int stride) + int qp, uint8_t *dst, ptrdiff_t stride) { int i, level_code, esc_code, level, run, mask, ret; int16_t level_buf[65]; |