vlc | branch: master | Steve Lhomme <[email protected]> | Mon Nov 27 08:42:27 
2017 +0100| [a1de66ec36a753db7575cd5954de92a3cac9b726] | committer: 
Jean-Baptiste Kempf

hw:d3d9:dxa9: remove dead code

CID #1462253

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1de66ec36a753db7575cd5954de92a3cac9b726
---

 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);

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to