diff options
author | benoit <benoit@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-19 16:30:20 +0000 |
---|---|---|
committer | benoit <benoit@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-19 16:30:20 +0000 |
commit | de1ca7fb29a302de8802d2706c7c6bd9f7169b1a (patch) | |
tree | 1863a5c9ade7ad23fd05556d83fc9344ec82f8be /libswscale/swscale.c | |
parent | 4277621a410c701dca7f3ba837f7a108139ba144 (diff) | |
download | mpv-de1ca7fb29a302de8802d2706c7c6bd9f7169b1a.tar.bz2 mpv-de1ca7fb29a302de8802d2706c7c6bd9f7169b1a.tar.xz |
Make const prototypes for input sources of sws_scale_* stricter.
Patch by Alexis Ballier gmailify($firstname, $familyname)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30374 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 2cffc5d4e5..1f276cbf22 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2926,7 +2926,7 @@ static void reset_ptr(const uint8_t* src[], int format) * swscale wrapper, so we don't need to export the SwsContext. * Assumes planar YUV to be in YUV order instead of YVU. */ -int sws_scale(SwsContext *c, const uint8_t* src[], int srcStride[], int srcSliceY, +int sws_scale(SwsContext *c, const uint8_t* const src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]) { int i; @@ -3046,7 +3046,7 @@ int sws_scale(SwsContext *c, const uint8_t* src[], int srcStride[], int srcSlice } #if LIBSWSCALE_VERSION_MAJOR < 1 -int sws_scale_ordered(SwsContext *c, const uint8_t* src[], int srcStride[], int srcSliceY, +int sws_scale_ordered(SwsContext *c, const uint8_t* const src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]) { return sws_scale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride); |