summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorconrad <conrad@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-21 09:52:11 +0000
committerconrad <conrad@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-21 09:52:11 +0000
commit450cef62b0dc15f70fa2949b5db547b668397924 (patch)
treea03942fb300f460da684e13bfe38b84ac221491d /libswscale/swscale.h
parent06c49d538d788c0d441744683bfe2e113a854f2c (diff)
downloadmpv-450cef62b0dc15f70fa2949b5db547b668397924.tar.bz2
mpv-450cef62b0dc15f70fa2949b5db547b668397924.tar.xz
More const-correctness for sws_scale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30381 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 4127454945..9e14262d30 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -30,7 +30,7 @@
#include "libavutil/avutil.h"
#define LIBSWSCALE_VERSION_MAJOR 0
-#define LIBSWSCALE_VERSION_MINOR 8
+#define LIBSWSCALE_VERSION_MINOR 9
#define LIBSWSCALE_VERSION_MICRO 0
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
@@ -184,8 +184,8 @@ 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, const uint8_t* const srcSlice[], int srcStride[],
- int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);
+int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], const int srcStride[],
+ int srcSliceY, int srcSliceH, uint8_t* const dst[], const int dstStride[]);
#if LIBSWSCALE_VERSION_MAJOR < 1
/**
* @deprecated Use sws_scale() instead.