[vlc-devel] [PATCH 1/3] dxva2: remove dead code
Steve Lhomme
robux4 at gmail.com
Fri Sep 29 14:45:25 CEST 2017
---
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;
--
2.12.1
More information about the vlc-devel
mailing list