[Pkg-voip-commits] [janus] 139/163: Fixed typo in rtp.c when resetting sequence numbers (should fix #992 and #1032)

Jonas Smedegaard dr at jones.dk
Sat Oct 28 01:22:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.5-1
in repository janus.

commit 266053e4acfa4795c244f8c9fe3de4feee5da418
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Tue Oct 17 16:51:17 2017 +0200

    Fixed typo in rtp.c when resetting sequence numbers (should fix #992 and #1032)
---
 rtp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtp.c b/rtp.c
index ebd0c85..79eb422 100644
--- a/rtp.c
+++ b/rtp.c
@@ -251,7 +251,7 @@ void janus_rtp_header_update(janus_rtp_header *header, janus_rtp_switching_conte
 			/* Video sequence number was paused for a while: just update that */
 			context->v_seq_reset = FALSE;
 			context->v_base_seq_prev = context->v_last_seq;
-			context->v_base_seq = header->seq_number;
+			context->v_base_seq = seq;
 		}
 		/* Compute a coherent timestamp and sequence number */
 		context->v_last_ts = (timestamp-context->v_base_ts) + context->v_base_ts_prev+step;
@@ -274,7 +274,7 @@ void janus_rtp_header_update(janus_rtp_header *header, janus_rtp_switching_conte
 			/* Audio sequence number was paused for a while: just update that */
 			context->a_seq_reset = FALSE;
 			context->a_base_seq_prev = context->a_last_seq;
-			context->a_base_seq = header->seq_number;
+			context->a_base_seq = seq;
 		}
 		/* Compute a coherent timestamp and sequence number */
 		context->a_last_ts = (timestamp-context->a_base_ts) + context->a_base_ts_prev+step;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list