aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-01 03:34:39 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-01 03:34:39 +0000
commit73d046e21fc4b35890e64eee4af5dfe7f833ab3a (patch)
treeb2bd424c0527a4ce37299a8fed0d6d616c1bff3e /libswscale
parent87cf861c7d5b6d4fa39ceecc810503dbad990eba (diff)
downloadffmpeg-73d046e21fc4b35890e64eee4af5dfe7f833ab3a.tar.gz
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.c2
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++)
{