[Pkg-voip-commits] [janus] 143/163: Changed check when enforcing RTP switching header changes
Jonas Smedegaard
dr at jones.dk
Sat Oct 28 01:22:24 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 4e867f4a898d6543a76b6383c2bff7593b726d5b
Author: Lorenzo Miniero <lminiero at gmail.com>
Date: Fri Oct 20 14:58:29 2017 +0200
Changed check when enforcing RTP switching header changes
---
rtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rtp.c b/rtp.c
index 79eb422..4cc6b43 100644
--- a/rtp.c
+++ b/rtp.c
@@ -231,7 +231,7 @@ void janus_rtp_switching_context_reset(janus_rtp_switching_context *context) {
}
void janus_rtp_header_update(janus_rtp_header *header, janus_rtp_switching_context *context, gboolean video, int step) {
- if(header == NULL || context == NULL || step < 1)
+ if(header == NULL || context == NULL || step < 0)
return;
uint32_t ssrc = ntohl(header->ssrc);
uint32_t timestamp = ntohl(header->timestamp);
--
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