output/Thread: remove another redundant "open" check

This commit is contained in:
Max Kellermann 2016-12-13 20:41:54 +01:00
parent ce6b8c94a2
commit b5b268f606

View File

@ -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();
}
/**