[vlc-commits] hw:d3d9:dxa9: remove dead code

Steve Lhomme git at videolan.org
Mon Nov 27 10:08:11 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | 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 <jb at videolan.org>

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



More information about the vlc-commits mailing list