summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/rle.c2
-rw-r--r--libavcodec/rle.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rle.c b/libavcodec/rle.c
index 4f94e7d4b6..828a0c21de 100644
--- a/libavcodec/rle.c
+++ b/libavcodec/rle.c
@@ -56,7 +56,7 @@ static int count_pixels(const uint8_t *start, int len, int bpp, int same)
}
int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr , int bpp, int w,
- int8_t add_rep, uint8_t xor_rep,int8_t add_raw,uint8_t xor_raw)
+ int add_rep, int xor_rep, int add_raw, int xor_raw)
{
int count, x;
uint8_t *out = outbuf;
diff --git a/libavcodec/rle.h b/libavcodec/rle.h
index 8ec3996810..929dc9090d 100644
--- a/libavcodec/rle.h
+++ b/libavcodec/rle.h
@@ -33,6 +33,6 @@
* @return Size of output in bytes, or -1 if larger than out_size
*/
int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w,
- int8_t add_rep, uint8_t xor_rep, int8_t add_raw, uint8_t xor_raw);
+ int add_rep, int xor_rep, int add_raw, int xor_raw);
#endif /* RLE_H */