input/Plugin: migrate init() from class Error to C++ exceptions

This commit is contained in:
Max Kellermann
2016-09-05 12:05:54 +02:00
parent a73688a2be
commit 6ed77f2a27
15 changed files with 55 additions and 99 deletions

View File

@@ -50,10 +50,7 @@ try {
const ScopeIOThread io_thread;
Error error;
if (!input_stream_global_init(error)) {
LogError(error);
return EXIT_FAILURE;
}
input_stream_global_init();
decoder_plugin_init_all();