diff options
author | v0lt <v0lt@users.sourceforge.net> | 2012-04-07 18:01:56 +0400 |
---|---|---|
committer | v0lt <v0lt@users.sourceforge.net> | 2012-04-07 18:01:56 +0400 |
commit | a936db3ae34b65c4a4aa640a6ff7cc6d2d1ee001 (patch) | |
tree | 9ac05ce51d301832f05cf04f83e736d70f95b861 | |
parent | ca1a8e6777fa93b947d6dde43735ed18aa9be905 (diff) |
cosmetics and optimization
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4280 10f7b99b-c216-0410-bff0-8a66a9350fd8
-rw-r--r-- | src/filters/parser/MatroskaSplitter/MatroskaSplitter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filters/parser/MatroskaSplitter/MatroskaSplitter.cpp b/src/filters/parser/MatroskaSplitter/MatroskaSplitter.cpp index 06baf51f5..d284afab0 100644 --- a/src/filters/parser/MatroskaSplitter/MatroskaSplitter.cpp +++ b/src/filters/parser/MatroskaSplitter/MatroskaSplitter.cpp @@ -428,13 +428,13 @@ avcsuccess: bool readmore = true;
POSITION pos1 = m_pFile->m_segment.Cues.GetHeadPosition();
- while (pos1 && readmore) {
+ while (readmore && pos1) {
Cue* pCue = m_pFile->m_segment.Cues.GetNext(pos1);
POSITION pos2 = pCue->CuePoints.GetHeadPosition();
- while (pos2 && readmore) {
+ while (readmore && pos2) {
CuePoint* pCuePoint = pCue->CuePoints.GetNext(pos2);
POSITION pos3 = pCuePoint->CueTrackPositions.GetHeadPosition();
- while (pos3 && readmore) {
+ while (readmore && pos3) {
CueTrackPosition* pCueTrackPositions = pCuePoint->CueTrackPositions.GetNext(pos3);
if (pCueTrackPositions->CueTrack != pTE->TrackNumber) {
continue;
@@ -491,7 +491,7 @@ avcsuccess: break;
}
}
- } while (pBlock->NextBlock() && readmore);
+ } while (readmore && pBlock->NextBlock());
}
}
}
|