Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/decss
diff options
context:
space:
mode:
authorCasimir666 <casimir666@users.sourceforge.net>2009-05-17 12:54:38 +0400
committerCasimir666 <casimir666@users.sourceforge.net>2009-05-17 12:54:38 +0400
commit6230b5d021715c5032d5503760a6332560a680d9 (patch)
treead5a27a791e26d6907a84e2b3d7d8e6618618bc4 /src/decss
parentd755443025b45c9940640bb7423c8a7a1b083d07 (diff)
Fixed : vc-1 Software Decoding Crash (bug #2792643)
Fixed : Some Audio Format Splitter Typos (bug #2792652) Fixed : incorrect handle in VOBFile git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1107 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/decss')
-rw-r--r--src/decss/VobFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decss/VobFile.cpp b/src/decss/VobFile.cpp
index b70ddc7e5..a0004f9ae 100644
--- a/src/decss/VobFile.cpp
+++ b/src/decss/VobFile.cpp
@@ -58,7 +58,7 @@ bool CDVDSession::BeginSession()
if(!DeviceIoControl(m_hDrive, IOCTL_DVD_END_SESSION, &m_session, sizeof(m_session), NULL, 0, &BytesReturned, NULL)
|| !DeviceIoControl(m_hDrive, IOCTL_DVD_START_SESSION, NULL, 0, &m_session, sizeof(m_session), &BytesReturned, NULL))
{
- CloseHandle(m_hDrive);
+ Close();
DWORD err = GetLastError();
return(false);
}