aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-05-10 14:00:00 +0000
committerDiego Biurrun <diego@biurrun.de>2009-05-10 14:00:00 +0000
commit0020c54cb887b5a516b3f2f3646385f3fe28b29e (patch)
tree4411984c409c01da2ff02564c47ade26464e2937 /libswscale/swscale.h
parent465477e1fb9540e44aa3eab0ea6d18f62ccb648b (diff)
downloadffmpeg-0020c54cb887b5a516b3f2f3646385f3fe28b29e.tar.gz
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 Originally committed as revision 29288 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h4
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 */