diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2008-07-06 22:37:50 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2008-07-06 22:37:50 +0400 |
commit | 99d2ebd3a94f3b863df2390aad8bbb96564082aa (patch) | |
tree | e1a8601f8bbae813d2f81f0a505cce3384688581 /src/apps/mplayerc/MiniDump.cpp | |
parent | bc9042a04b8d2dcd2634a4e81134528c969512d2 (diff) |
FIXED : Save image/thumbnail not working with EVR (bug #2010681)
FIXED : crash on some h264 introduce in rev 632
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@635 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/MiniDump.cpp')
-rw-r--r-- | src/apps/mplayerc/MiniDump.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apps/mplayerc/MiniDump.cpp b/src/apps/mplayerc/MiniDump.cpp index e5ebe9a77..9c3fbe02e 100644 --- a/src/apps/mplayerc/MiniDump.cpp +++ b/src/apps/mplayerc/MiniDump.cpp @@ -46,12 +46,14 @@ typedef BOOL (WINAPI *MINIDUMPWRITEDUMP)(HANDLE hProcess, DWORD dwPid, HANDLE hF CMiniDump::CMiniDump ()
{
+#ifndef _DEBUG
SetUnhandledExceptionFilter (UnhandledExceptionFilter);
#ifndef _WIN64
// Enable catching in CRT (http://blog.kalmbachnet.de/?postid=75)
PreventSetUnhandledExceptionFilter();
#endif
+#endif
}
LPTOP_LEVEL_EXCEPTION_FILTER WINAPI MyDummySetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)
|