Vertical scalers: Use signed int for src/dst pitch in parameters.
This avoids explicitly casting them to 'int' later.
These methods were already called with signed int arguments for pitch,
so this also avoids int -> unsigned int -> int conversion.
Change-Id: I2129f5ceff8f2525a188ee3ae52f9fe7067bd2e3
diff --git a/aom_scale/generic/aom_scale.c b/aom_scale/generic/aom_scale.c
index 9007459..14f3ae0 100644
--- a/aom_scale/generic/aom_scale.c
+++ b/aom_scale/generic/aom_scale.c
@@ -252,8 +252,8 @@
void (*horiz_line_scale)(const unsigned char *, unsigned int, unsigned char *,
unsigned int) = NULL;
- void (*vert_band_scale)(unsigned char *, unsigned int, unsigned char *,
- unsigned int, unsigned int) = NULL;
+ void (*vert_band_scale)(unsigned char *, int, unsigned char *, int,
+ unsigned int) = NULL;
int ratio_scalable = 1;
int interpolation = 0;