Minor bug fix when the resolution is not introduced

This commit is contained in:
jfmcarreira committed 2014-01-30 01:02:30 +00:00
1 parent 8d14c447eb
commit f82a625790
2 files changed
+12

No files matched your search

+5
View File
@@ -77,6 +77,11 @@ bool ImageInterface::loadFile( const QString &fileName )
m_currStream.init( fileName, formatDialog.getResolution().width(), formatDialog.getResolution().height() );
if( m_currStream.getStatus() == 0 )
{
return false;
}
m_currStream.readFrame();
if( m_currStream.checkErrors( READING ) )
{