diff options
author | David Conrad <lessen42@gmail.com> | 2010-01-21 09:52:11 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-01-21 09:52:11 +0000 |
commit | 01cc47dcd39738b73e5e6485e4c58e6abbe29363 (patch) | |
tree | 0d42d7f175b4a933f59d30cb569bce467a4182d6 /libswscale/swscale.h | |
parent | 0fc07ad9515481120d54005717859cb51dfe8019 (diff) | |
download | ffmpeg-01cc47dcd39738b73e5e6485e4c58e6abbe29363.tar.gz |
More const-correctness for sws_scale
Originally committed as revision 30381 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r-- | libswscale/swscale.h | 6 |
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. |