mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 12:24:52 +00:00
cast to correct type, suppress warnings
Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
73d046e21f
commit
74498eb44b
@ -2542,7 +2542,7 @@ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
|
||||
int v= av_clip_uint8(((RV*r + GV*g + BV*b)>>RGB2YUV_SHIFT) + 128);
|
||||
pal[i]= y + (u<<8) + (v<<16);
|
||||
}
|
||||
src2[1]= pal;
|
||||
src2[1]= (uint8_t*)pal;
|
||||
}
|
||||
|
||||
// copy strides, so they can safely be modified
|
||||
|
Loading…
Reference in New Issue
Block a user