Bugfix: wrong if instruction

This commit is contained in:
jfmcarreira committed 2016-11-24 17:52:19 +00:00
1 parent aaeaef7438
commit 0e8984fa41
1 file changed
+1 -1
+1 -1
View File
@@ -440,7 +440,7 @@ Bool VideoSubWindow::guessFormat( QString filename, UInt& rWidth, UInt& rHeight,
{ {
return false; return false;
} }
if( !fileExtension.compare( "yuv" ) || !fileExtension.compare( "gray" ) || !fileExtension.compare( "gray" ) ) if( !fileExtension.compare( "yuv" ) || !fileExtension.compare( "rgb" ) || !fileExtension.compare( "gray" ) )
{ {
bGuessed = false; bGuessed = false;
// Guess pixel format // Guess pixel format