summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-15 08:51:51 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-15 08:51:51 +0000
commit0bd2e793c1f9a56250866f8bac9f502542541b68 (patch)
treeaf08c68eaad821088da44981f98ae5c00b881a56 /libswscale/swscale.h
parent9cbb5c686fc5efb3767615c853f7def568a478e6 (diff)
downloadmpv-0bd2e793c1f9a56250866f8bac9f502542541b68.tar.bz2
mpv-0bd2e793c1f9a56250866f8bac9f502542541b68.tar.xz
Const correctness for src pointer. Remove all constness related warnings in
libswscale. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30306 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 958d0244ae..878962384c 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -184,13 +184,13 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat
* the destination image
* @return the height of the output slice
*/
-int sws_scale(struct SwsContext *context, uint8_t* srcSlice[], int srcStride[],
+int sws_scale(struct SwsContext *context, const uint8_t* srcSlice[], int srcStride[],
int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);
#if LIBSWSCALE_VERSION_MAJOR < 1
/**
* @deprecated Use sws_scale() instead.
*/
-int sws_scale_ordered(struct SwsContext *context, uint8_t* src[],
+int sws_scale_ordered(struct SwsContext *context, const uint8_t* src[],
int srcStride[], int srcSliceY, int srcSliceH,
uint8_t* dst[], int dstStride[]) attribute_deprecated;
#endif