mirror of https://github.com/mpv-player/mpv
Use the RESET_GEOMETRY macro in one more place instead of duplicating its code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29392 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8e2054934a
commit
eeb99c1c14
|
@ -39,7 +39,7 @@ int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh)
|
|||
{
|
||||
int width, height, xoff, yoff, xper, yper;
|
||||
|
||||
width = height = xoff = yoff = xper = yper = INT_MIN;
|
||||
RESET_GEOMETRY
|
||||
|
||||
if(vo_geometry != NULL) {
|
||||
if(sscanf(vo_geometry, "%ix%i+%i+%i", &width, &height, &xoff, &yoff) != 4 )
|
||||
|
|
Loading…
Reference in New Issue