diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2010-01-15 08:51:51 +0000 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2010-01-15 08:51:51 +0000 |
commit | a959e24780e4570061df034ddf0271992f3e6dc6 (patch) | |
tree | f982ad3bd25f48e65c8f31d92b4251a29c599ef8 /libswscale/swscale.h | |
parent | 7c2de274e7ae6743cbd3f3f8b1aeebdf353cfdf5 (diff) | |
download | ffmpeg-a959e24780e4570061df034ddf0271992f3e6dc6.tar.gz |
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.h')
-rw-r--r-- | libswscale/swscale.h | 4 |
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 |