changeset 35192:4001f0c1b625

Remove "else" that makes no sense and results in uninitialized data being used. There is a high chance that all -vm related code is broken in various ways, obviously it hasn't been used/tested in ages.
author reimar
date Tue, 30 Oct 2012 16:40:22 +0000
parents 69ef24582908
children e5f3eeacf75f
files libvo/vo_vdpau.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Tue Oct 30 16:35:36 2012 +0000
+++ b/libvo/vo_vdpau.c	Tue Oct 30 16:40:22 2012 +0000
@@ -680,7 +680,6 @@
 #ifdef CONFIG_XF86VM
         if (vm)
             vo_vm_switch();
-        else
 #endif
         XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &attribs);
         depth = attribs.depth;