Change in libosmo-abis[master]: trau_frame: Fix AMR frame decoding

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu May 14 15:49:44 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/18182 )

Change subject: trau_frame: Fix AMR frame decoding
......................................................................

trau_frame: Fix AMR frame decoding

Change-Id: I9b2dbca05217ee78cade2a47a02857f7cf7e0cd7
---
M src/trau_frame.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  tnt: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/trau_frame.c b/src/trau_frame.c
index 9558b3f..ac373aa 100644
--- a/src/trau_frame.c
+++ b/src/trau_frame.c
@@ -85,6 +85,7 @@
 	memcpy(fr->t_bits+0, trau_bits+316, 4);
 	/* D1 .. D5 */
 	memcpy(fr->d_bits, trau_bits+43, 5);
+	d_idx += 5;
 	/* D6 .. D245 */
 	for (i = 48; i < 304; i += 16) {
 		memcpy(fr->d_bits + d_idx, trau_bits+i+1, 15);

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/18182
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I9b2dbca05217ee78cade2a47a02857f7cf7e0cd7
Gerrit-Change-Number: 18182
Gerrit-PatchSet: 3
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: tnt <tnt at 246tNt.com>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200514/3c4a1291/attachment.htm>


More information about the gerrit-log mailing list