[Pkg-voip-commits] [janus] 268/282: Removed unneeded check

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:47 UTC 2017


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

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

commit e78d13ff118186950464ff47e49758fd50564f9d
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Mon Dec 18 16:12:09 2017 +0100

    Removed unneeded check
---
 ice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ice.c b/ice.c
index 4dda5b4..9479e06 100644
--- a/ice.c
+++ b/ice.c
@@ -3919,7 +3919,7 @@ void *janus_ice_send_thread(void *data) {
 									stream->audio_first_rtp_ts = timestamp;
 								}
 								/* Let's check if this was G.711: in case we may need to change the timestamp base */
-								rtcp_context *rtcp_ctx = video ? stream->video_rtcp_ctx[0] : stream->audio_rtcp_ctx;
+								rtcp_context *rtcp_ctx = stream->audio_rtcp_ctx;
 								int pt = header->type;
 								if((pt == 0 || pt == 8) && (rtcp_ctx->tb == 48000))
 									rtcp_ctx->tb = 8000;

-- 
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