summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/rle.c6
-rw-r--r--tools/rle.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/rle.c b/tools/rle.c
index 2425630b..7aede06b 100644
--- a/tools/rle.c
+++ b/tools/rle.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: rle.c,v 1.3 2009-02-16 16:14:58 phintuka Exp $
+ * $Id: rle.c,v 1.4 2010-05-21 11:55:15 phintuka Exp $
*
*/
@@ -23,10 +23,10 @@
* rle_compress()
*
*/
-int rle_compress(xine_rle_elem_t **rle_data, const uint8_t *data, uint w, uint h)
+uint rle_compress(xine_rle_elem_t **rle_data, const uint8_t *data, uint w, uint h)
{
xine_rle_elem_t rle, *rle_p = 0, *rle_base;
- int x, y, num_rle = 0, rle_size = 8128;
+ uint x, y, num_rle = 0, rle_size = 8128;
const uint8_t *c;
rle_p = (xine_rle_elem_t*)malloc(4*rle_size);
diff --git a/tools/rle.h b/tools/rle.h
index d6900e8f..b4fed0dd 100644
--- a/tools/rle.h
+++ b/tools/rle.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: rle.h,v 1.2 2009-02-16 16:14:58 phintuka Exp $
+ * $Id: rle.h,v 1.3 2010-05-21 11:55:15 phintuka Exp $
*
*/
@@ -25,7 +25,7 @@ struct xine_rle_elem_s;
struct xine_clut_s;
-int rle_compress(struct xine_rle_elem_s **rle_data, const uint8_t *data, uint w, uint h);
+uint rle_compress(struct xine_rle_elem_s **rle_data, const uint8_t *data, uint w, uint h);
void rle_uncompress_lut8(const struct xine_rle_elem_s *rle_data,
uint8_t *data, uint w, uint h);