summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-06-26 13:41:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-06-26 13:41:01 +0000
commiteeb99c1c1413bb1d51d84ce9de4d21c0dec6fda2 (patch)
treedd1c218a8d1b170ec56077c2774521d36b614168
parent8e2054934ae54e87334d7708227f3a91f109825d (diff)
downloadmpv-eeb99c1c1413bb1d51d84ce9de4d21c0dec6fda2.tar.bz2
mpv-eeb99c1c1413bb1d51d84ce9de4d21c0dec6fda2.tar.xz
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
-rw-r--r--libvo/geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/geometry.c b/libvo/geometry.c
index 393f575f1c..e8f0826bf9 100644
--- a/libvo/geometry.c
+++ b/libvo/geometry.c
@@ -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 )