Fix guessing format function

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