webrtc/modules/audio_coding/codecs
Ivo Creusen deb1b1bc70 Always call IsOk() to ensure audio codec configuration is valid when negotiating.
We should avoid creating codecs with invalid parameters, since this can
expose security issues. For many codecs the IsOk() method to check the
codec config is only called in DCHECKs. This CL ensures IsOk() is always
called, also in non-debug builds.

Bug: chromium:1265806
Change-Id: Ibd3c6c65d3bb547cd2603e11808ac40ac693a8b1
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238801
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35422}
2021-11-26 10:11:21 +00:00
..
cng Use backticks not vertical bars to denote variables in comments 2021-08-10 10:40:03 +00:00
g711 Implement AudioEncoder::GetFrameLengthRange() for all audio encoders. 2020-03-25 22:19:21 +00:00
g722 Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
ilbc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
isac Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
opus Always call IsOk() to ensure audio codec configuration is valid when negotiating. 2021-11-26 10:11:21 +00:00
pcm16b Format almost everything. 2019-07-08 13:45:15 +00:00
red red: handle opus dtx 400ms timestamp gap 2021-09-15 15:09:28 +00:00
tools Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
audio_decoder.h
audio_encoder.h
builtin_audio_decoder_factory_unittest.cc Set the maximum number of audio channels to 24 2021-11-16 17:01:54 +00:00
builtin_audio_encoder_factory_unittest.cc Set the maximum number of audio channels to 24 2021-11-16 17:01:54 +00:00
legacy_encoded_audio_frame.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
legacy_encoded_audio_frame.h Format almost everything. 2019-07-08 13:45:15 +00:00
legacy_encoded_audio_frame_unittest.cc Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00