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:
2019-02-20 22:22:43 +00:00
parent 00ec0485f4
commit ca562ae9f4
22 changed files with 88 additions and 53 deletions
+2 -2
View File
@@ -335,7 +335,7 @@ bool StreamHandlerLibav::configureBuffer( CalypFrame* pcFrame )
void StreamHandlerLibav::calculateFrameNumber()
{
unsigned long long int num_frames;
ClpULong num_frames;
/*if( m_cStream->nb_frames )
{
num_frames = m_cStream->nb_frames;
@@ -442,7 +442,7 @@ bool StreamHandlerLibav::write( CalypFrame* pcFrame )
return false;
}
bool StreamHandlerLibav::seek( unsigned long long int iFrameNum )
bool StreamHandlerLibav::seek( ClpULong iFrameNum )
{
if( m_uiTotalNumberFrames == 1 )
return true;