]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_amr, mod_amrwb] Fix input data corruption
authorDmitry Kunilov <38783480+dkunilov@users.noreply.github.com>
Wed, 24 Jan 2024 13:50:08 +0000 (16:50 +0300)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2024 13:50:08 +0000 (16:50 +0300)
commitd148a3e412dbe1772a0e6f8a39e9a9b480c49268
treefce9e27ed2e6afc4f535838296cbdc2d6912c46c
parentd3c60820d72c6a4296611aaba2f6d3b1dda2c7ee
[mod_amr, mod_amrwb] Fix input data corruption

* Fix input data corruption in AMR and AMRWB codecs

* [amr/amrwb] Check encoded frame size before decoding

* [mod_amr, mod_amrwb] Coding guidelines cleanup.

---------

Co-authored-by: Dmitry Kunilov <dmitry.kunilov@upm.solutions>
Co-authored-by: Andrey Volk <andywolk@gmail.com>
src/mod/codecs/mod_amr/mod_amr.c
src/mod/codecs/mod_amrwb/mod_amrwb.c