mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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 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++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user