Mercurial > mplayer.hg
diff libswscale/swscale.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 | bd9db1814611 |
children | b4c3e12c9a08 |
line wrap: on
line diff
--- a/libswscale/swscale.h Fri Jan 15 07:55:07 2010 +0000 +++ b/libswscale/swscale.h Fri Jan 15 08:51:51 2010 +0000 @@ -184,13 +184,13 @@ * 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