diff options
author | David Conrad <lessen42@gmail.com> | 2010-01-21 09:52:11 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-01-21 09:52:11 +0000 |
commit | 01cc47dcd39738b73e5e6485e4c58e6abbe29363 (patch) | |
tree | 0d42d7f175b4a933f59d30cb569bce467a4182d6 /libswscale/swscale.c | |
parent | 0fc07ad9515481120d54005717859cb51dfe8019 (diff) | |
download | ffmpeg-01cc47dcd39738b73e5e6485e4c58e6abbe29363.tar.gz |
More const-correctness for sws_scale
Originally committed as revision 30381 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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 b27fbb0851..62fa78d7b5 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2927,8 +2927,8 @@ 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* const src[], int srcStride[], int srcSliceY, - int srcSliceH, uint8_t* dst[], int dstStride[]) +int sws_scale(SwsContext *c, const uint8_t* const src[], const int srcStride[], int srcSliceY, + int srcSliceH, uint8_t* const dst[], const int dstStride[]) { int i; const uint8_t* src2[4]= {src[0], src[1], src[2], src[3]}; |