[vlc-devel] [PATCH] dvxa2: remove unused variable

Steve Lhomme robux4 at gmail.com
Thu Jan 21 17:41:08 CET 2016


---
 modules/codec/avcodec/dxva2.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 643c000..23e8379 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -116,7 +116,6 @@ struct vlc_va_sys_t
     D3DADAPTER_IDENTIFIER9 d3dai;
 
     /* Device manager */
-    UINT                     token;
     IDirect3DDeviceManager9  *devmng;
     HANDLE                   device;
 
@@ -521,7 +520,6 @@ static int D3dCreateDeviceManager(vlc_va_t *va)
         msg_Err(va, " OurDirect3DCreateDeviceManager9 failed");
         return VLC_EGENERIC;
     }
-    sys->token  = token;
     sys->devmng = devmng;
     msg_Info(va, "obtained IDirect3DDeviceManager9");
 
-- 
1.9.5.msysgit.0



More information about the vlc-devel mailing list