summaryrefslogtreecommitdiff
path: root/tests/rotozoom.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-09 12:26:00 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-11 11:54:57 +0200
commit5a37c12c82323c0b1f06cf4b8030bcabb554765d (patch)
tree985ba03b6a1a0c36381e0452d018d893c0eedc24 /tests/rotozoom.c
parente9c10459a36869b5779a4c6cd52d879f23c6b294 (diff)
rotozoom: Drop silly UINT8 typedef.
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r--tests/rotozoom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index 209ed027d1..642cefa56f 100644
--- a/tests/rotozoom.c
+++ b/tests/rotozoom.c
@@ -56,14 +56,14 @@ static int64_t int_sin(int64_t a)
#define SCALEBITS 8
#define ONE_HALF (1 << (SCALEBITS - 1))
#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5))
-typedef unsigned char UINT8;
-static void rgb24_to_yuv420p(UINT8 *lum, UINT8 *cb, UINT8 *cr,
- UINT8 *src, int width, int height)
+static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb,
+ unsigned char *cr, unsigned char *src,
+ int width, int height)
{
int wrap, wrap3, x, y;
int r, g, b, r1, g1, b1;
- UINT8 *p;
+ unsigned char *p;
wrap = width;
wrap3 = width * 3;