Fix error matching the stream handler based on extension

This commit is contained in:
2016-05-15 16:59:54 +01:00
parent 9e7838ad27
commit fdba958f3f
+4 -4
View File
@@ -116,10 +116,10 @@ CreateStreamHandlerFn PlaYUVerStream::findStreamHandler( String strFilename, boo
{
return supportedFmts[i].formatFct;
}
else if( strFilename.find( supportedFmts[i].formatExt ) != String::npos )
{
return supportedFmts[i].formatFct;
}
// else if( strFilename.find( supportedFmts[i].formatExt ) != String::npos )
// {
// return supportedFmts[i].formatFct;
// }
}
return &StreamHandlerRaw::Create;
}