output/Thread: remove another redundant "open" check
This commit is contained in:
parent
ce6b8c94a2
commit
b5b268f606
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user