diff options
author | Underground78 <underground78@users.sourceforge.net> | 2011-08-07 23:52:16 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2011-08-07 23:52:16 +0400 |
commit | 5471777a7952b806434e0c9a959cc08ee648dcaa (patch) | |
tree | 7d0d1885e905d3ae65550309d916b25c408fb8ae /src/filters/parser/OggSplitter | |
parent | 6da02ad7b229b91ded4bc62446552e4a1e24c3e8 (diff) |
- Rename "hash" so that there is no ambiguity with std::hash.
- Avoid a macro redefinition.
- Make some signed/unsigned conversions explicit.
- Fix a few unused variables.
- Reduce the scope of a few variables.
- Don't use extra class name qualificater in header files.
- Initilialize a few variables.
- Fix the case for some file names.
- Remove some useless casts.
- Cosmetics (remove empty lines at the end of some files, ...)
Patch by XhmikosR.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3605 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/OggSplitter')
-rw-r--r-- | src/filters/parser/OggSplitter/OggSplitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/parser/OggSplitter/OggSplitter.cpp b/src/filters/parser/OggSplitter/OggSplitter.cpp index 15935adec..1256f9223 100644 --- a/src/filters/parser/OggSplitter/OggSplitter.cpp +++ b/src/filters/parser/OggSplitter/OggSplitter.cpp @@ -355,7 +355,7 @@ void COggSplitterFilter::DemuxSeek(REFERENCE_TIME rt) __int64 len = m_pFile->GetLength();
__int64 startpos = len * rt/m_rtDuration;
- __int64 diff = 0;
+ //__int64 diff = 0;
REFERENCE_TIME rtMinDiff = _I64_MAX;
@@ -416,7 +416,7 @@ void COggSplitterFilter::DemuxSeek(REFERENCE_TIME rt) break;
}
- diff = newpos - startpos;
+ //diff = newpos - startpos;
startpos = max(min(newpos, len), 0);
}
|