mirror of https://github.com/mpv-player/mpv
u_int -> unsigned int, fixes MinGW compilation (patch by Xuebin Wu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23083 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e2c2b7fb57
commit
0fa57522f5
|
@ -2283,7 +2283,7 @@ static void ComputeBorders( vidix_playback_t *config, int VertUVSubSample )
|
|||
|
||||
TopUVLine = ((int)(config->src.y/VertUVSubSample) < 0) ? 0: (int)(config->src.y/VertUVSubSample); /* Round rSrcTop down */
|
||||
BottomUVLine = (ceil(((config->src.y+config->src.h)/VertUVSubSample)) > (config->src.h/VertUVSubSample))
|
||||
? (config->src.h/VertUVSubSample)-1 : (u_int)ceil(((config->src.y+config->src.h)/VertUVSubSample))-1;
|
||||
? (config->src.h/VertUVSubSample)-1 : (unsigned int)ceil(((config->src.y+config->src.h)/VertUVSubSample))-1;
|
||||
|
||||
if (BottomUVLine >= TopUVLine)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue