aboutsummaryrefslogtreecommitdiffstats
path: root/tests/codec/codec_ecu_fr_test.ok
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-07-20 13:58:52 +0200
committerHarald Welte <laforge@gnumonks.org>2018-07-21 07:40:20 +0000
commit9bb966afb0be5cd439bae141875e94bd3bb97761 (patch)
treef1c83529e3c8430dafa3f46a538d35fe2ea340e6 /tests/codec/codec_ecu_fr_test.ok
parentab383e6d27bac1c2627640e7b3aa4f96428fcf5b (diff)
libosmocodec: FR err concealment: Fix too many silent frames generated
As stated in its own documentation, reduce_xmaxcr_all() should only return true when ALL XMAXC fields return true. However, previous implementation returned true when at least one of them returned true. As a result, if any of the sections is silent (for instance because one of the bursts was lost), the whole frame is silenced, returning a zeroed buffer. Related: OS#2700 Fixes: 40def49ac4b8babbd1b17c232137ce50a428706b ("libosmocodec: implement ECU (Error Concealment Unit) for FR") Change-Id: I1624b7c6574f53d0593a61645d4fdc5d56cabe96
Diffstat (limited to 'tests/codec/codec_ecu_fr_test.ok')
0 files changed, 0 insertions, 0 deletions