[vlc-commits] dxva2: remove unused variable

Steve Lhomme git at videolan.org
Thu Jan 21 17:50:50 CET 2016


vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Thu Jan 21 17:41:08 2016 +0100| [29e9ee760198402cee8af6ece3ee8248ba5579d4] | committer: Jean-Baptiste Kempf

dxva2: remove unused variable

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 041843c..72f23e9 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");
 



More information about the vlc-commits mailing list