Commit add40b7b authored by Michael Niedermayer's avatar Michael Niedermayer

tests/rotozoom: make some things const.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a04a97bc
...@@ -58,12 +58,12 @@ static int64_t int_sin(int64_t a) ...@@ -58,12 +58,12 @@ static int64_t int_sin(int64_t a)
#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5)) #define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5))
static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb, static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb,
unsigned char *cr, unsigned char *src, unsigned char *cr, const unsigned char *src,
int width, int height) int width, int height)
{ {
int wrap, wrap3, x, y; int wrap, wrap3, x, y;
int r, g, b, r1, g1, b1; int r, g, b, r1, g1, b1;
unsigned char *p; const unsigned char *p;
wrap = width; wrap = width;
wrap3 = width * 3; wrap3 = width * 3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment