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
Sun May 10 19:04:47 UTC 2020


laforge has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/82/18182/1

diff --git a/src/trau_frame.c b/src/trau_frame.c
index 2f0e9da..1a2a10a 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: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200510/f3ad3533/attachment.htm>


More information about the gerrit-log mailing list