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:
authorCasimir666 <casimir666@users.sourceforge.net>2008-10-05 17:27:27 +0400
committerCasimir666 <casimir666@users.sourceforge.net>2008-10-05 17:27:27 +0400
commit3f75f6e950caee591d3c4130f4a42e707a0597c5 (patch)
tree3b635b700ceb431b84dac5f150244ac864347a70 /src/apps/mplayerc/PlayerSubresyncBar.cpp
parentec8c01ad5f051dae92cd0d3c29cb7aafe320500d (diff)
Fix : bugs in DVD playback introduced in rev 808
Fix : D3DFS resize when monitor resolution is changed git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@820 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PlayerSubresyncBar.cpp')
-rw-r--r--src/apps/mplayerc/PlayerSubresyncBar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/apps/mplayerc/PlayerSubresyncBar.cpp b/src/apps/mplayerc/PlayerSubresyncBar.cpp
index 65e546a6e..4d9d4a360 100644
--- a/src/apps/mplayerc/PlayerSubresyncBar.cpp
+++ b/src/apps/mplayerc/PlayerSubresyncBar.cpp
@@ -241,7 +241,7 @@ void CPlayerSubresyncBar::SaveSubtitle()
for(int i = 0, j = m_sts.GetCount(); i < j; i++)
{
int vobid, cellid, forced, spnum, c;
- if(_stscanf_s(m_sts.GetStr(i), _T("%d%c%d%c%d%c%d"), &vobid, &c, &cellid, &c, &forced, &c, &spnum) != 7) continue;
+ if(_stscanf(m_sts.GetStr(i), _T("%d%c%d%c%d%c%d"), &vobid, &c, &cellid, &c, &forced, &c, &spnum) != 7) continue;
sp[spnum].start = m_sts[i].start;
sp[spnum].stop = m_sts[i].end;
sp[spnum].fValid = true;
@@ -428,7 +428,7 @@ void CPlayerSubresyncBar::UpdateStrings()
for(int i = 0, j = m_sts.GetCount(); i < j; i++)
{
int vobid, cellid, forced, c;
- if(_stscanf_s(m_sts.GetStr(i), _T("%d%c%d%c%d"), &vobid, &c, &cellid, &c, &forced) != 5) continue;
+ if(_stscanf(m_sts.GetStr(i), _T("%d%c%d%c%d"), &vobid, &c, &cellid, &c, &forced) != 5) continue;
if(vobid < 0) str = _T("-");
else str.Format(_T("%d"), vobid);
m_list.SetItemText(i, COL_VOBID, str);
@@ -577,7 +577,7 @@ static bool ParseTime(CString str, int& ret, bool fWarn = true)
str.Trim();
if(str.GetLength() > 0 && str[0] == '-') sign = -1;
- int n = _stscanf_s(str, _T("%d%c%d%c%d%c%d"), &h, &c, &m, &c, &s, &c, &ms);
+ int n = _stscanf(str, _T("%d%c%d%c%d%c%d"), &h, &c, &m, &c, &s, &c, &ms);
h = abs(h);