diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-20 13:58:52 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-07-21 07:40:20 +0000 |
commit | 9bb966afb0be5cd439bae141875e94bd3bb97761 (patch) | |
tree | f1c83529e3c8430dafa3f46a538d35fe2ea340e6 /src/gsm/gsm0480.c | |
parent | ab383e6d27bac1c2627640e7b3aa4f96428fcf5b (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 'src/gsm/gsm0480.c')
0 files changed, 0 insertions, 0 deletions