Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These had unintentionally been disabled and so have fallen derelict. Replace the makefile `with_amr_tests` conditional with `RTPENGINE_EXTENDED_TESTS`. The previous `with_amr_tests` was not actually set anywhere and so these tests never ran. The new `RTPENGINE_EXTENDED_TESTS` is used as switch for other tests already. Bring the tests up to date so that they compile and run. Allow for alternative AMR bit encodings as different versions of the codec produce different outputs. Use an inline `struct cb_args` to pass these expected strings to the callback functions. Update `int` to `size_t` where appropriate. Make a copy of the format string in `__sdp_pt_fmt` as the parsing function temporarily writes into the string, which means a readonly string literal doesn't work. Update the AMR tests in test-transcode to the new API and new expected values. Change-Id: Ic3332e696522a28595ea06be9996001d3ab7686e
- Loading branch information