diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-02-14 19:12:16 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-02-14 19:12:16 +0000 |
commit | b4aba2163bfc21d6c85af3d8ec12682451c87dd9 (patch) | |
tree | 2dcaccc8a4827ea77888982d9155449186403c89 /src/xine-utils/copy.c | |
parent | bc1967b650186cad6f2c10d0fc3532d3bd5b237c (diff) | |
download | xine-lib-b4aba2163bfc21d6c85af3d8ec12682451c87dd9.tar.gz xine-lib-b4aba2163bfc21d6c85af3d8ec12682451c87dd9.tar.bz2 |
Make input-only pointers point to const data.
CVS patchset: 7900
CVS date: 2006/02/14 19:12:16
Diffstat (limited to 'src/xine-utils/copy.c')
-rw-r--r-- | src/xine-utils/copy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xine-utils/copy.c b/src/xine-utils/copy.c index bcf4f350d..1a609ed89 100644 --- a/src/xine-utils/copy.c +++ b/src/xine-utils/copy.c @@ -28,9 +28,9 @@ #include "xineutils.h" void yv12_to_yv12 - (unsigned char *y_src, int y_src_pitch, unsigned char *y_dst, int y_dst_pitch, - unsigned char *u_src, int u_src_pitch, unsigned char *u_dst, int u_dst_pitch, - unsigned char *v_src, int v_src_pitch, unsigned char *v_dst, int v_dst_pitch, + (const unsigned char *y_src, int y_src_pitch, unsigned char *y_dst, int y_dst_pitch, + const unsigned char *u_src, int u_src_pitch, unsigned char *u_dst, int u_dst_pitch, + const unsigned char *v_src, int v_src_pitch, unsigned char *v_dst, int v_dst_pitch, int width, int height) { int y, half_width = width / 2; @@ -65,7 +65,7 @@ void yv12_to_yv12 } void yuy2_to_yuy2 - (unsigned char *src, int src_pitch, + (const unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch, int width, int height) { |