summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia/sdp_neg.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjmedia/src/pjmedia/sdp_neg.c')
-rw-r--r--pjmedia/src/pjmedia/sdp_neg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pjmedia/src/pjmedia/sdp_neg.c b/pjmedia/src/pjmedia/sdp_neg.c
index ebed3a36..8e50aa83 100644
--- a/pjmedia/src/pjmedia/sdp_neg.c
+++ b/pjmedia/src/pjmedia/sdp_neg.c
@@ -1033,7 +1033,6 @@ static pj_status_t match_offer(pj_pool_t *pool,
{
unsigned i;
pj_bool_t master_has_codec = 0,
- master_has_telephone_event = 0,
master_has_other = 0,
found_matching_codec = 0,
found_matching_telephone_event = 0,
@@ -1129,7 +1128,6 @@ static pj_status_t match_offer(pj_pool_t *pool,
pjmedia_sdp_attr_get_rtpmap(a, &or_);
if (!pj_stricmp2(&or_.enc_name, "telephone-event")) {
- master_has_telephone_event = 1;
if (found_matching_telephone_event)
continue;
is_codec = 0;