[vlc-commits] dxva2: remove dead code
Steve Lhomme
git at videolan.org
Thu Oct 5 14:33:24 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Fri Sep 29 14:45:25 2017 +0200| [1814614a9831cb790a395411b3c25b1c84bf72de] | committer: Jean-Baptiste Kempf
dxva2: remove dead code
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1814614a9831cb790a395411b3c25b1c84bf72de
---
modules/codec/avcodec/dxva2.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 6204fd3e32..c5e829bdf2 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -488,19 +488,6 @@ static int DxCreateVideoService(vlc_va_t *va)
{
vlc_va_sys_t *sys = va->sys;
directx_sys_t *dx_sys = &va->sys->dx_sys;
-
- HRESULT (WINAPI *CreateVideoService)(IDirect3DDevice9 *,
- REFIID riid,
- void **ppService);
- CreateVideoService =
- (void *)GetProcAddress(dx_sys->hdecoder_dll, "DXVA2CreateVideoService");
-
- if (!CreateVideoService) {
- msg_Err(va, "cannot load function");
- return 4;
- }
- msg_Info(va, "DXVA2CreateVideoService Success!");
-
HRESULT hr;
HANDLE device;
More information about the vlc-commits
mailing list