diff options
author | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-04-02 23:28:08 +0400 |
---|---|---|
committer | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-04-02 23:28:08 +0400 |
commit | 3b4fc12e5cfaa652683f9a3eb3e1bf49870a5ac3 (patch) | |
tree | fea1be18b053596fc9819b98f7c5e83ef4a6298e /src/DSUtil/H264Nalu.cpp | |
parent | 4af0283e17036049e835c1c2837c0b43c0ac13b6 (diff) |
Cosmetic changes to DSUtil (patch by Tetsuo55 - Told you I'd get you coding one day!)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1775 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/H264Nalu.cpp')
-rw-r--r-- | src/DSUtil/H264Nalu.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DSUtil/H264Nalu.cpp b/src/DSUtil/H264Nalu.cpp index a3b1cbb94..dd8fe57f9 100644 --- a/src/DSUtil/H264Nalu.cpp +++ b/src/DSUtil/H264Nalu.cpp @@ -61,7 +61,6 @@ bool CH264Nalu::MoveToNextStartcode() bool CH264Nalu::ReadNext()
{
- int nTemp;
if (m_nCurPos >= m_nSize) return false;
@@ -70,7 +69,7 @@ bool CH264Nalu::ReadNext() // 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;
- nTemp = 0;
+ int nTemp = 0;
for (int i=0; i<m_nNALSize; i++)
{
nTemp = (nTemp << 8) + m_pBuffer[m_nCurPos++];
|