mirror of https://git.ffmpeg.org/ffmpeg.git
add const, suppress warnings
Originally committed as revision 26947 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
87cf861c7d
commit
73d046e21f
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue