add const, suppress warnings

Originally committed as revision 26947 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Baptiste Coudurier 2008-06-01 03:34:39 +00:00
parent 87cf861c7d
commit 73d046e21f
1 changed files with 1 additions and 1 deletions

View File

@ -1848,7 +1848,7 @@ static int gray16swap(SwsContext *c, uint8_t* src[], int srcStride[], int srcSli
int y= srcSliceY; int y= srcSliceY;
int height= srcSliceH; int height= srcSliceH;
int i, j; int i, j;
uint16_t *srcPtr= src[0]; uint16_t *srcPtr= (uint16_t*)src[0];
uint16_t *dstPtr= dst[0] + dstStride[0]*y/2; uint16_t *dstPtr= dst[0] + dstStride[0]*y/2;
for (i=0; i<height; i++) for (i=0; i<height; i++)
{ {