diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-10 12:59:37 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-10 12:59:37 +0400 |
commit | fa3ac9ee1048aa5b4e78788ce2b89ad265f63882 (patch) | |
tree | 9a8f3ae660de3e2c01bd41bc08a3e53cd580634e /decoder/LAVVideo/decoders/dxva2dec.cpp | |
parent | b737d2cf0bf02ad771fbb2d863a5dfbc78d06374 (diff) |
Fix invalid pointer usage in CDecDXVA2::RetrieveVendorId
Diffstat (limited to 'decoder/LAVVideo/decoders/dxva2dec.cpp')
-rw-r--r-- | decoder/LAVVideo/decoders/dxva2dec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/LAVVideo/decoders/dxva2dec.cpp b/decoder/LAVVideo/decoders/dxva2dec.cpp index cd1bd3d2..f93f64ac 100644 --- a/decoder/LAVVideo/decoders/dxva2dec.cpp +++ b/decoder/LAVVideo/decoders/dxva2dec.cpp @@ -616,7 +616,7 @@ done: SafeRelease(&pDevice); if (hDevice != 0) { pDevManager->UnlockDevice(hDevice, FALSE); - pDevManager->CloseDeviceHandle(&hDevice); + pDevManager->CloseDeviceHandle(hDevice); } return hr; } |