diff libswscale/swscale_internal.h @ 30264:1032ff2e83f1

Const correctness for src pointer. Remove all constness related warnings in libswscale.
author zuxy
date Fri, 15 Jan 2010 08:51:51 +0000
parents ec5ad3da76a9
children 042ec58ab0e2
line wrap: on
line diff
--- a/libswscale/swscale_internal.h	Fri Jan 15 07:55:07 2010 +0000
+++ b/libswscale/swscale_internal.h	Fri Jan 15 08:51:51 2010 +0000
@@ -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[]);