Commit c2012659 authored by Max Kellermann's avatar Max Kellermann

output/Thread: remove unused variable

parent 6c818bb3
......@@ -268,9 +268,8 @@ AudioOutput::ReopenFilter()
CloseFilter();
}
AudioFormat filter_audio_format;
try {
filter_audio_format = OpenFilter(in_audio_format);
OpenFilter(in_audio_format);
convert_filter_set(convert_filter.Get(), out_audio_format);
} catch (const std::runtime_error &e) {
FormatError(e,
......@@ -278,8 +277,6 @@ AudioOutput::ReopenFilter()
name, plugin.name);
Close(false);
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment