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