From e13576a2e29aa3fefa09640fcde4481142e3aba6 Mon Sep 17 00:00:00 2001 From: Karl Blomster Date: Fri, 12 Sep 2008 16:17:56 +0000 Subject: [PATCH] ffms2 indexer: make sure all exceptions are caught Originally committed to SVN as r2347. --- FFmpegSource2/ffmsindex.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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;