output/Thread: remove unused variable

This commit is contained in:
Max Kellermann 2016-12-13 21:24:05 +01:00
parent 6c818bb37a
commit c20126598f

View File

@ -268,9 +268,8 @@ AudioOutput::ReopenFilter()
CloseFilter(); CloseFilter();
} }
AudioFormat filter_audio_format;
try { try {
filter_audio_format = OpenFilter(in_audio_format); OpenFilter(in_audio_format);
convert_filter_set(convert_filter.Get(), out_audio_format); convert_filter_set(convert_filter.Get(), out_audio_format);
} catch (const std::runtime_error &e) { } catch (const std::runtime_error &e) {
FormatError(e, FormatError(e,
@ -278,8 +277,6 @@ AudioOutput::ReopenFilter()
name, plugin.name); name, plugin.name);
Close(false); Close(false);
return;
} }
} }