diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-10 14:00:00 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-10 14:00:00 +0000 |
commit | f46dc0b51431b7a7f83d0487a87392ec624d3e7a (patch) | |
tree | 5396d8fa925bf52923ae95210602a98b291cd5ee /libswscale/swscale.h | |
parent | 859c7ee1e39df213cbb78786fd62f2a6cdf98114 (diff) | |
download | mpv-f46dc0b51431b7a7f83d0487a87392ec624d3e7a.tar.bz2 mpv-f46dc0b51431b7a7f83d0487a87392ec624d3e7a.tar.xz |
Add const qualifier to param argument of sws_getContext() and
sws_getCachedContext(). Fixes the warning:
swscale.c:3408: warning: assignment discards qualifiers from pointer target type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29288 b3059339-0415-0410-9bf9-f77b7e298cf2
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 4990ebf134..f5856c381c 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -130,7 +130,7 @@ void sws_freeContext(struct SwsContext *swsContext); struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat, int flags, SwsFilter *srcFilter, - SwsFilter *dstFilter, double *param); + SwsFilter *dstFilter, const double *param); /** * Scales the image slice in \p srcSlice and puts the resulting scaled @@ -258,6 +258,6 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context, int srcW, int srcH, enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat, int flags, SwsFilter *srcFilter, - SwsFilter *dstFilter, double *param); + SwsFilter *dstFilter, const double *param); #endif /* SWSCALE_SWSCALE_H */ |