diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-01 21:45:41 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-07 12:30:17 +0300 |
commit | 6b52762951fa138eef59e2628dabb389e0500e40 (patch) | |
tree | 7c078b281eaa674c55cc5b25d45ff0a951e0a27a /libavcodec/error_resilience.h | |
parent | ec903058447ad5be34d89533962e9ae1aa1c78f7 (diff) |
error_resilience: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/error_resilience.h')
-rw-r--r-- | libavcodec/error_resilience.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/error_resilience.h b/libavcodec/error_resilience.h index 3139880362..10456525fd 100644 --- a/libavcodec/error_resilience.h +++ b/libavcodec/error_resilience.h @@ -57,8 +57,8 @@ typedef struct ERContext { int *mb_index2xy; int mb_num; int mb_width, mb_height; - int mb_stride; - int b8_stride; + ptrdiff_t mb_stride; + ptrdiff_t b8_stride; int error_count, error_occurred; uint8_t *error_status_table; |