diff --git a/ffmpeglauncher.cpp b/ffmpeglauncher.cpp index 173c44a..a7e1f52 100644 --- a/ffmpeglauncher.cpp +++ b/ffmpeglauncher.cpp @@ -2,6 +2,7 @@ #include "playerwatcher.h" #include +#include #include #include @@ -148,7 +149,8 @@ void FfmpegLauncher::nextSong() cerr << "Warning: Ignoring unknown section [" << scope.first << "] in info.ini." << endl; } } - } catch(const ios_base::failure &) { + } catch(...) { + ::IoUtilities::catchIoFailure(); cerr << "Warning: Can't parse info.ini because an IO error occured." << endl; } }