Commit b5b268f6 authored by Max Kellermann's avatar Max Kellermann

output/Thread: remove another redundant "open" check

parent ce6b8c94
......@@ -297,14 +297,12 @@ AudioOutput::Reopen()
out_audio_format */
out_audio_format = in_audio_format;
out_audio_format.ApplyMask(config_audio_format);
}
if (open)
Open();
} else
/* the audio format has changed, and all filters have
to be reconfigured */
ReopenFilter();
else
Open();
}
/**
......
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