[vlc-commits] dxva2: fix compilation warning

Steve Lhomme git at videolan.org
Tue Jan 16 16:36:54 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 16 13:35:05 2018 +0100| [81a572e0f3a5e630afc5fff654f3750be4a84e99] | committer: Steve Lhomme

dxva2: fix compilation warning

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

 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);



More information about the vlc-commits mailing list