[vlc-commits] dxva2: fix compilation warning

Steve Lhomme git at videolan.org
Wed Jan 17 16:13:07 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 16 13:35:05 2018 +0100| [fe277b3da1b64470d5f5f7314cd607e15ac8ba59] | committer: Jean-Baptiste Kempf

dxva2: fix compilation warning

(cherry picked from commit 81a572e0f3a5e630afc5fff654f3750be4a84e99)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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