output/Thread: fix wrong error reference in catch clause
This commit is contained in:
@@ -182,7 +182,7 @@ AudioOutput::Open()
|
|||||||
try {
|
try {
|
||||||
success = ao_plugin_open(this, out_audio_format, error);
|
success = ao_plugin_open(this, out_audio_format, error);
|
||||||
} catch (const std::runtime_error &e) {
|
} catch (const std::runtime_error &e) {
|
||||||
FormatError(error, "Failed to open \"%s\" [%s]",
|
FormatError(e, "Failed to open \"%s\" [%s]",
|
||||||
name, plugin.name);
|
name, plugin.name);
|
||||||
|
|
||||||
CloseFilter();
|
CloseFilter();
|
||||||
|
Reference in New Issue
Block a user