Bugfixes and improvements

Uniform the use of unsigned long in the frame number by defining a ClpULong type
CalypFrame Add function to copyTo a specific position
This commit is contained in:
jfmcarreira committed 2019-02-20 22:22:43 +00:00
1 parent 00ec0485f4
commit ca562ae9f4
22 files changed
+88 -53

No files matched your search

+2 -2
View File
@@ -118,13 +118,13 @@ int CalypTools::openInputs()
}
}
m_uiNumberOfFrames = UINT_MAX;
m_uiNumberOfFrames = -1;
if( Opts().hasOpt( "frames" ) )
{
m_uiNumberOfFrames = m_iFrames;
}
m_uiNumberOfComponents = UINT_MAX;
m_uiNumberOfComponents = -1;
for( unsigned int i = 0; i < m_apcInputStreams.size(); i++ )
{
m_uiNumberOfFrames = std::min( m_uiNumberOfFrames, m_apcInputStreams[i]->getFrameNum() );