# HG changeset patch # User reimar # Date 1351615222 0 # Node ID 4001f0c1b625eb28d9e720ef2f0e248c6f59afb0 # Parent 69ef24582908b50f44a1f124f3789d14d3165e70 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. diff -r 69ef24582908 -r 4001f0c1b625 libvo/vo_vdpau.c --- 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;