From b8e893399ff8755721dc117695ec5ff183c1e07b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 26 May 2011 18:57:26 +0200 Subject: sws: replace all long with int. Signed-off-by: Ronald S. Bultje --- libswscale/swscale.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libswscale/swscale.h') diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 6ab59c6a59..b0ad912a08 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -335,7 +335,7 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context, * @param num_pixels number of pixels to convert * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src */ -void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette); +void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); /** * Converts an 8bit paletted frame into a frame with a color depth of 24 bits. @@ -347,7 +347,7 @@ void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, long num_pi * @param num_pixels number of pixels to convert * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src */ -void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette); +void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); #endif /* SWSCALE_SWSCALE_H */ -- cgit v1.2.3