Commit df91f373 authored by Max Kellermann's avatar Max Kellermann

output/Thread: remove a useless out_audio_format setting

Now that I can see the Reopen() method clearly, it is obvious that the out_audio_format setting will get overwritten by the following Open() call.
parent b5b268f6
......@@ -291,13 +291,6 @@ AudioOutput::Reopen()
if (!config_audio_format.IsFullyDefined()) {
Close(true);
/* no audio format is configured: copy in->out, let
the output's open() method determine the effective
out_audio_format */
out_audio_format = in_audio_format;
out_audio_format.ApplyMask(config_audio_format);
Open();
} else
/* the audio format has changed, and all filters have
......
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