ffms2 indexer: make sure all exceptions are caught

Originally committed to SVN as r2347.
This commit is contained in:
Karl Blomster 2008-09-12 16:17:56 +00:00
parent 5b3cf56687
commit e13576a2e2
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ int main(int argc, char *argv[]) {
std::cout << Error << std::endl;
delete App;
return 1;
} catch (...) {
std::cout << std::endl << "Unknown error" << std::endl;
delete App;
return 1;
}
delete App;