summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-16 17:16:08 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-16 17:16:08 +0000
commitd12df3ab124768fc6f4e99e74d5d24458aa3047e (patch)
treebf3f54683d8b0f59f2a0a033654583faa0801792 /libvo
parent21303cd0adb1e6540c1c083ed215e8b9b2770cf6 (diff)
downloadmpv-d12df3ab124768fc6f4e99e74d5d24458aa3047e.tar.bz2
mpv-d12df3ab124768fc6f4e99e74d5d24458aa3047e.tar.xz
Get rid of (besides useless assignments) unused XSizeHints variable
in vo_xvmc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27942 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xvmc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c
index d01c123bdb..89917b47d8 100644
--- a/libvo/vo_xvmc.c
+++ b/libvo/vo_xvmc.c
@@ -454,7 +454,6 @@ int i,mode_id,rez;
int numblocks,blocks_per_macroblock;//bpmb we have 6,8,12
//from vo_xv
-XSizeHints hint;
XVisualInfo vinfo;
XGCValues xgcv;
XSetWindowAttributes xswa;
@@ -646,10 +645,6 @@ skip_surface_allocation:
else
#endif
{
- hint.x = vo_dx;
- hint.y = vo_dy;
- hint.width = d_width;
- hint.height = d_height;
#ifdef CONFIG_XF86VM
if ( vm )
{
@@ -657,8 +652,6 @@ skip_surface_allocation:
}
else
#endif
- hint.flags = PPosition | PSize /* | PBaseSize */;
- hint.base_width = hint.width; hint.base_height = hint.height;
XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &attribs);
depth=attribs.depth;
if (depth != 15 && depth != 16 && depth != 24 && depth != 32) depth = 24;