Fix code in order to build with the option warnings are errors
This commit is contained in:
1 parent
0112523db4
commit
c0f773ca18
6 files changed
+14
-18
No files matched your search
@@ -212,7 +212,7 @@ Void InputStream::readFrame()
|
||||
}
|
||||
|
||||
m_iCurrFrameNum++;
|
||||
if( m_iCurrFrameNum >= m_uiTotalFrameNum )
|
||||
if( m_iCurrFrameNum >= (Int)m_uiTotalFrameNum )
|
||||
{
|
||||
m_iErrorStatus = END_OF_SEQ;
|
||||
m_iCurrFrameNum = 0;
|
||||
@@ -249,8 +249,6 @@ Bool InputStream::writeFrame( const QString& filename )
|
||||
|
||||
PlaYUVerFrame* InputStream::getFrame( PlaYUVerFrame *pyuv_image )
|
||||
{
|
||||
Pel*** bufferRGB = m_cCurrFrame->getPelBufferRGB();
|
||||
|
||||
if( pyuv_image == NULL )
|
||||
pyuv_image = new PlaYUVerFrame( m_cCurrFrame->getWidth(), m_cCurrFrame->getHeight(), m_cCurrFrame->getPelFormat() );
|
||||
|
||||
|
||||
Reference in new issue
Block a user