1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-10 00:49:32 +00:00

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
This commit is contained in:
reimar 2008-11-16 17:16:08 +00:00
parent 21303cd0ad
commit d12df3ab12

View File

@ -454,7 +454,6 @@ int i,mode_id,rez;
int numblocks,blocks_per_macroblock;//bpmb we have 6,8,12 int numblocks,blocks_per_macroblock;//bpmb we have 6,8,12
//from vo_xv //from vo_xv
XSizeHints hint;
XVisualInfo vinfo; XVisualInfo vinfo;
XGCValues xgcv; XGCValues xgcv;
XSetWindowAttributes xswa; XSetWindowAttributes xswa;
@ -646,10 +645,6 @@ skip_surface_allocation:
else else
#endif #endif
{ {
hint.x = vo_dx;
hint.y = vo_dy;
hint.width = d_width;
hint.height = d_height;
#ifdef CONFIG_XF86VM #ifdef CONFIG_XF86VM
if ( vm ) if ( vm )
{ {
@ -657,8 +652,6 @@ skip_surface_allocation:
} }
else else
#endif #endif
hint.flags = PPosition | PSize /* | PBaseSize */;
hint.base_width = hint.width; hint.base_height = hint.height;
XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &attribs); XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &attribs);
depth=attribs.depth; depth=attribs.depth;
if (depth != 15 && depth != 16 && depth != 24 && depth != 32) depth = 24; if (depth != 15 && depth != 16 && depth != 24 && depth != 32) depth = 24;