diff --git a/FFmpegSource2/ffmsindex.cpp b/FFmpegSource2/ffmsindex.cpp index e7d2208c2..bba965b96 100644 --- a/FFmpegSource2/ffmsindex.cpp +++ b/FFmpegSource2/ffmsindex.cpp @@ -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;