aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mss12.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-08 16:03:46 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-29 17:54:24 +0200
commit15b4f494fc6bddb8178fdb5aed18b420efc75e22 (patch)
tree531be9fa9f23191c80912058d186a803b0804d18 /libavcodec/mss12.h
parenta339e919cad1ab0125948f0dd9d49f6cb590db89 (diff)
downloadffmpeg-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/mss12.h')
-rw-r--r--libavcodec/mss12.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mss12.h b/libavcodec/mss12.h
index 5b1fee8913..8cad5dcedc 100644
--- a/libavcodec/mss12.h
+++ b/libavcodec/mss12.h
@@ -77,12 +77,12 @@ typedef struct MSS12Context {
uint32_t pal[256];
uint8_t *pal_pic;
uint8_t *last_pal_pic;
- int pal_stride;
+ ptrdiff_t pal_stride;
uint8_t *mask;
- int mask_stride;
+ ptrdiff_t mask_stride;
uint8_t *rgb_pic;
uint8_t *last_rgb_pic;
- int rgb_stride;
+ ptrdiff_t rgb_stride;
int free_colours;
int keyframe;
int mvX, mvY;