ptrdiff_t is the correct type for array strides and similar.
---
 libavcodec/fraps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index eb61c70..af7f4ad 100644
--- a/libavcodec/fraps.c
+++ b/libavcodec/fraps.c
@@ -91,7 +91,7 @@ static int huff_cmp(const void *va, const void *vb)
  */
 static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int 
w,
                                int h, const uint8_t *src, int size, int Uoff,
-                               const int step)
+                               const ptrdiff_t step)
 {
     int i, j, ret;
     GetBitContext gb;
-- 
2.1.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to