summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
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/swscale_internal.h
parent7c2de274e7ae6743cbd3f3f8b1aeebdf353cfdf5 (diff)
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/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index a4e695604d..3db7a480c8 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -59,7 +59,7 @@
struct SwsContext;
-typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[],
+typedef int (*SwsFunc)(struct SwsContext *context, const uint8_t* src[],
int srcStride[], int srcSliceY, int srcSliceH,
uint8_t* dst[], int dstStride[]);