diff --git a/source/app/InputStream.cpp b/source/app/InputStream.cpp index b502506..546a921 100755 --- a/source/app/InputStream.cpp +++ b/source/app/InputStream.cpp @@ -284,7 +284,7 @@ Bool InputStream::guessFormat( QString filename, UInt& rWidth, UInt& rHeight, In break; } } - if( rWidth >= 0 && rHeight >= 0 && rInputFormat >= 0 ) + if( rWidth > 0 && rHeight > 0 && rInputFormat >= 0 ) bRet = false; } return bRet; diff --git a/source/app/SubWindowHandle.cpp b/source/app/SubWindowHandle.cpp index b246623..021d303 100644 --- a/source/app/SubWindowHandle.cpp +++ b/source/app/SubWindowHandle.cpp @@ -144,7 +144,6 @@ Void SubWindowHandle::swapModuleFrames() } } - Void SubWindowHandle::setCurrFrame( PlaYUVerFrame* pcCurrFrame ) { m_pcCurrFrame = pcCurrFrame; @@ -166,9 +165,9 @@ Void SubWindowHandle::refreshFrame() else { if( m_pcCurrentModule ) - { - bSetFrame = ModulesHandle::applyModuleIf( m_pcCurrentModule, m_bIsPlaying ); - } + { + bSetFrame = ModulesHandle::applyModuleIf( m_pcCurrentModule, m_bIsPlaying ); + } } if( bSetFrame ) {