summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb.c
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2010-01-15 08:51:51 +0000
committerZuxy Meng <zuxy.meng@gmail.com>2010-01-15 08:51:51 +0000
commita959e24780e4570061df034ddf0271992f3e6dc6 (patch)
treef982ad3bd25f48e65c8f31d92b4251a29c599ef8 /libswscale/rgb2rgb.c
parent7c2de274e7ae6743cbd3f3f8b1aeebdf353cfdf5 (diff)
downloadffmpeg-a959e24780e4570061df034ddf0271992f3e6dc6.tar.gz
Const correctness for src pointer. Remove all constness related warnings in
libswscale. Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/rgb2rgb.c')
-rw-r--r--libswscale/rgb2rgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c
index d3c3f43bde..1dc728ab9d 100644
--- a/libswscale/rgb2rgb.c
+++ b/libswscale/rgb2rgb.c
@@ -74,7 +74,7 @@ void (*rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *v
long lumStride, long chromStride, long srcStride);
void (*planar2x)(const uint8_t *src, uint8_t *dst, long width, long height,
long srcStride, long dstStride);
-void (*interleaveBytes)(uint8_t *src1, uint8_t *src2, uint8_t *dst,
+void (*interleaveBytes)(const uint8_t *src1, const uint8_t *src2, uint8_t *dst,
long width, long height, long src1Stride,
long src2Stride, long dstStride);
void (*vu9_to_vu12)(const uint8_t *src1, const uint8_t *src2,