[MPlayer-cvslog] r28120 - trunk/libvo/vo_direct3d.c

reimar subversion at mplayerhq.hu
Tue Dec 9 19:41:41 CET 2008


Author: reimar
Date: Tue Dec  9 19:41:41 2008
New Revision: 28120

Log:
Forgotten part of previous cosmetics commit


Modified:
   trunk/libvo/vo_direct3d.c

Modified: trunk/libvo/vo_direct3d.c
==============================================================================
--- trunk/libvo/vo_direct3d.c	(original)
+++ trunk/libvo/vo_direct3d.c	Tue Dec  9 19:41:41 2008
@@ -476,10 +476,9 @@ static void uninit_d3d(void)
     destroy_d3d_surfaces();
 
     /* Destroy the D3D Device */
-    if (priv->d3d_device) {
+    if (priv->d3d_device)
         IDirect3DDevice9_Release(priv->d3d_device);
-        priv->d3d_device = NULL;
-    }
+    priv->d3d_device = NULL;
 
     /* Stop the whole D3D. */
     if (priv->d3d_handle) {



More information about the MPlayer-cvslog mailing list