diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 07:34:39 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 07:34:39 +0400 |
commit | 73d046e21fc4b35890e64eee4af5dfe7f833ab3a (patch) | |
tree | b2bd424c0527a4ce37299a8fed0d6d616c1bff3e /libswscale | |
parent | 87cf861c7d5b6d4fa39ceecc810503dbad990eba (diff) |
add const, suppress warnings
Originally committed as revision 26947 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index ac6f976afa..295926e881 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1848,7 +1848,7 @@ static int gray16swap(SwsContext *c, uint8_t* src[], int srcStride[], int srcSli int y= srcSliceY; int height= srcSliceH; int i, j; - uint16_t *srcPtr= src[0]; + uint16_t *srcPtr= (uint16_t*)src[0]; uint16_t *dstPtr= dst[0] + dstStride[0]*y/2; for (i=0; i<height; i++) { |