WebRtcVoiceEngineTest: Changed a static_cast to a checked_cast.
Also two spelling fixes. This is a follow-up to https://codereview.webrtc.org/2669583002/ TBR=kwiberg@webrtc.org BUG=webrtc:5806 Review-Url: https://codereview.webrtc.org/2697453004 Cr-Commit-Position: refs/heads/master@{#16586}
This commit is contained in:
@ -175,8 +175,8 @@ NamedDecoderConstructor decoder_constructors[] = {
|
||||
class BuiltinAudioDecoderFactory : public AudioDecoderFactory {
|
||||
public:
|
||||
std::vector<AudioCodecSpec> GetSupportedDecoders() override {
|
||||
// Although this looks a bit strange, it means specs need only be initalized
|
||||
// once, and that that initialization is thread-safe.
|
||||
// Although this looks a bit strange, it means specs need only be
|
||||
// initialized once, and that that initialization is thread-safe.
|
||||
static std::vector<AudioCodecSpec> specs = [] {
|
||||
std::vector<AudioCodecSpec> specs;
|
||||
#ifdef WEBRTC_CODEC_OPUS
|
||||
|
||||
Reference in New Issue
Block a user