summaryrefslogtreecommitdiff
path: root/libavcodec/ivi.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-08-26 12:26:50 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-04 11:57:15 +0200
commit746c56b7730ce09397d3a8354acc131285e9d829 (patch)
treece950689016e319a0ff996ad5a77a01912e2c511 /libavcodec/ivi.h
parent4fb311c804098d78e5ce5f527f9a9c37536d3a08 (diff)
indeo: Change type of array pitch parameters to ptrdiff_t
ptrdiff_t is the correct type for array pitches and similar.
Diffstat (limited to 'libavcodec/ivi.h')
-rw-r--r--libavcodec/ivi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ivi.h b/libavcodec/ivi.h
index 9b4824b081..4082a90de9 100644
--- a/libavcodec/ivi.h
+++ b/libavcodec/ivi.h
@@ -87,8 +87,8 @@ extern const uint8_t ff_ivi_direct_scan_4x4[16];
/**
* Declare inverse transform function types
*/
-typedef void (InvTransformPtr)(const int32_t *in, int16_t *out, uint32_t pitch, const uint8_t *flags);
-typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);
+typedef void (InvTransformPtr)(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags);
+typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size);
/**
@@ -153,7 +153,7 @@ typedef struct IVIBandDesc {
int16_t *ref_buf; ///< pointer to the reference frame buffer (for motion compensation)
int16_t *b_ref_buf; ///< pointer to the second reference frame buffer (for motion compensation)
int16_t *bufs[4]; ///< array of pointers to the band buffers
- int pitch; ///< pitch associated with the buffers above
+ ptrdiff_t pitch; ///< pitch associated with the buffers above
int is_empty; ///< = 1 if this band doesn't contain any data
int mb_size; ///< macroblock size
int blk_size; ///< block size