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
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2015-08-01 17:47:51 +0300
committerUnderground78 <underground78@users.sourceforge.net>2015-08-01 18:50:44 +0300
commitf5758c6b575392ff5be92a2517ed5c46c770547f (patch)
tree28094d08e2703e8ee741caec3ae68cfb307bc125
parentffffb3ed51c96a66693f8d46164bb26291b3389b (diff)
Revert "Go to dialog: Fix the incorrect parsing of timecodes on ICL13 builds."
This reverts commit 3cf369f19452782d1b98a33a189ddbddacfb7360. We stopped supporting ICL quite a long time ago and ICL13 is old anyway.
-rw-r--r--src/mpc-hc/GoToDlg.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mpc-hc/GoToDlg.cpp b/src/mpc-hc/GoToDlg.cpp
index 33bb5367e..7d7b88f9b 100644
--- a/src/mpc-hc/GoToDlg.cpp
+++ b/src/mpc-hc/GoToDlg.cpp
@@ -125,10 +125,8 @@ void CGoToDlg::OnParseTimeCode()
AfxGetApp()->WriteProfileInt(IDS_R_SETTINGS, IDS_RS_GOTO_LAST_USED, TYPE_TIME);
- // The hh and mm are declared volatile to work around a compiler bug with ICL 13.
- // It prevents the compiler to optimize out those variables from the computation.
- volatile unsigned int hh = 0;
- volatile unsigned int mm = 0;
+ unsigned int hh = 0;
+ unsigned int mm = 0;
float ss = 0.0f;
WCHAR c; // extra character to ensure the end of string was reached