webrtc/api/audio_codecs/g711
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
..
audio_decoder_g711.cc Always call IsOk() to ensure audio codec configuration is valid when negotiating. 2021-11-26 10:11:21 +00:00
audio_decoder_g711.h Set the maximum number of audio channels to 24 2021-11-16 17:01:54 +00:00
audio_encoder_g711.cc Always call IsOk() to ensure audio codec configuration is valid when negotiating. 2021-11-26 10:11:21 +00:00
audio_encoder_g711.h Set the maximum number of audio channels to 24 2021-11-16 17:01:54 +00:00
BUILD.gn Use absl_deps in order to preapre to the Abseil component build release. 2020-06-08 12:59:40 +00:00