Production code: Pass codec ID argument to audio codecs

Just a null ID for now, but future CLs will fix that.

Bug: webrtc:8941
Change-Id: I393af0fef752ca3711421bdaf4b2e41cbe286bcf
Reviewed-on: https://webrtc-review.googlesource.com/58093
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22296}
This commit is contained in:
Karl Wiberg
2018-03-05 15:01:10 +01:00
committed by Commit Bot
parent 2e7a459fe7
commit 98cd810d31
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ AudioDecoder* DecoderDatabase::DecoderInfo::GetDecoder() const {
// TODO(ossu): Keep a check here for now, since a number of tests create
// DecoderInfos without factories.
RTC_DCHECK(factory_);
decoder_ = factory_->MakeAudioDecoder(audio_format_);
decoder_ = factory_->MakeAudioDecoder(audio_format_, rtc::nullopt);
}
RTC_DCHECK(decoder_) << "Failed to create: " << audio_format_;
return decoder_.get();