diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-21 18:27:33 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-21 18:27:33 +0400 |
commit | 287da83923dc89d3e530f0f774622c77b104ff32 (patch) | |
tree | 068c6eeb6174072c2970b139d1e38a99ab2edb9d /src/DSUtil/H264Nalu.cpp | |
parent | 43335a3630fc71331466b2a9d6c62ef02a522c50 (diff) |
put back the ";" in macro calls; better be consistent. Remove excessive indentation
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5585 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/H264Nalu.cpp')
-rw-r--r-- | src/DSUtil/H264Nalu.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DSUtil/H264Nalu.cpp b/src/DSUtil/H264Nalu.cpp index 761db62ad..9cdb4705e 100644 --- a/src/DSUtil/H264Nalu.cpp +++ b/src/DSUtil/H264Nalu.cpp @@ -74,9 +74,9 @@ bool CH264Nalu::ReadNext() if ((m_nNALSize != 0) && (m_nCurPos == m_nNextRTP)) {
// RTP Nalu type : (XX XX) XX XX NAL..., with XX XX XX XX or XX XX equal to NAL size
- m_nNALStartPos = m_nCurPos;
- m_nNALDataPos = m_nCurPos + m_nNALSize;
- unsigned nTemp = 0;
+ m_nNALStartPos = m_nCurPos;
+ m_nNALDataPos = m_nCurPos + m_nNALSize;
+ unsigned nTemp = 0;
for (int i = 0; i < m_nNALSize; i++) {
nTemp = (nTemp << 8) + m_pBuffer[m_nCurPos++];
}
@@ -89,9 +89,9 @@ bool CH264Nalu::ReadNext() }
// AnnexB Nalu : 00 00 01 NAL...
- m_nNALStartPos = m_nCurPos;
- m_nCurPos += 3;
- m_nNALDataPos = m_nCurPos;
+ m_nNALStartPos = m_nCurPos;
+ m_nCurPos += 3;
+ m_nNALDataPos = m_nCurPos;
MoveToNextAnnexBStartcode();
}
|