Commit 1814614a authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

dxva2: remove dead code

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2f5b3542
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment