changeset 27908:aed1781a422f

Get rid of (besides useless assignments) unused XSizeHints variable in vo_xvmc.
author reimar
date Sun, 16 Nov 2008 17:16:08 +0000
parents 05841116681a
children 1c5d7d467bfd
files libvo/vo_xvmc.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xvmc.c	Sun Nov 16 16:59:17 2008 +0000
+++ b/libvo/vo_xvmc.c	Sun Nov 16 17:16:08 2008 +0000
@@ -454,7 +454,6 @@
 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 @@
    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 @@
       }
       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;