aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-15 21:52:11 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-15 21:52:11 +0100
commitadd40b7b6afc18eb1cf410bc814db3a3ec5858cf (patch)
tree12388ce85474202cb63697169c1d8f5b6ad1cf16
parenta04a97bc8814c39cb1ab20288168a8d96ec66fb6 (diff)
downloadffmpeg-add40b7b6afc18eb1cf410bc814db3a3ec5858cf.tar.gz
tests/rotozoom: make some things const.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/rotozoom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index 4406290de1..a18667aa10 100644
--- a/tests/rotozoom.c
+++ b/tests/rotozoom.c
@@ -58,12 +58,12 @@ static int64_t int_sin(int64_t a)
#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5))
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 wrap, wrap3, x, y;
int r, g, b, r1, g1, b1;
- unsigned char *p;
+ const unsigned char *p;
wrap = width;
wrap3 = width * 3;