output/Thread: remove unused variable

This commit is contained in:
Max Kellermann 2016-12-13 21:24:05 +01:00
parent 6c818bb37a
commit c20126598f
1 changed files with 1 additions and 4 deletions

View File

@ -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;
}
}