[vlc-devel] [PATCH] hw:d3d9:dxa9: remove dead code

Steve Lhomme robux4 at videolabs.io
Mon Nov 27 08:42:27 CET 2017


CID #1462253
---
 modules/hw/d3d9/dxa9.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/hw/d3d9/dxa9.c b/modules/hw/d3d9/dxa9.c
index e07f06aa93..d31139c48f 100644
--- a/modules/hw/d3d9/dxa9.c
+++ b/modules/hw/d3d9/dxa9.c
@@ -421,8 +421,6 @@ done:
     video_format_Clean(&fmt_staging);
     if (err != VLC_SUCCESS)
     {
-        if (p_cpu_filter)
-            DeleteFilter( p_cpu_filter );
         if (texture)
             IDirect3DSurface9_Release(texture);
         D3D9_FilterReleaseInstance(&p_sys->d3d_dev);
-- 
2.14.2



More information about the vlc-devel mailing list