[vlc-devel] [PATCH 2/5] dxva2: fix compilation warning
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jan 16 16:33:23 CET 2018
---
modules/codec/avcodec/dxva2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 3836c7394a..64d6f56500 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -465,7 +465,7 @@ static void DxDestroyVideoService(vlc_va_t *va)
{
HRESULT hr = IDirect3DDeviceManager9_CloseDeviceHandle(va->sys->devmng, va->sys->device);
if (FAILED(hr))
- msg_Warn(va, "Failed to release device handle %x. (hr=0x%lX)", va->sys->device, hr);
+ msg_Warn(va, "Failed to release device handle 0x%p. (hr=0x%lX)", va->sys->device, hr);
}
if (dx_sys->d3ddec)
IDirectXVideoDecoderService_Release(dx_sys->d3ddec);
--
2.14.2
More information about the vlc-devel
mailing list