summaryrefslogtreecommitdiff
path: root/libavcodec/utvideo.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-01 21:31:22 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-08 13:51:30 +0200
commit131a85a1fed9966bbd38517f76abfac0237e39dc (patch)
tree26f3dd244813b6a621e3d4a60427522b74fc04b6 /libavcodec/utvideo.h
parent52730e0f867fe77b7d2353d8b44e92edb7079ca5 (diff)
utvideo: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/utvideo.h')
-rw-r--r--libavcodec/utvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utvideo.h b/libavcodec/utvideo.h
index 0035e9c5ce..c7f54145f1 100644
--- a/libavcodec/utvideo.h
+++ b/libavcodec/utvideo.h
@@ -77,7 +77,7 @@ typedef struct UtvideoContext {
int interlaced;
int frame_pred;
- int slice_stride;
+ ptrdiff_t slice_stride;
uint8_t *slice_bits, *slice_buffer[4];
int slice_bits_size;
} UtvideoContext;