From e3674ddf2ec0663db942b68f2da12e84de25ae2f Mon Sep 17 00:00:00 2001
From: Jehan Monnier <jehan.monnier@linphone.org>
Date: Thu, 31 Mar 2011 17:09:24 +0200
Subject: [PATCH] fix uncompliant sdp while refusing a video  m line

---
 coreapi/offeranswer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/coreapi/offeranswer.c b/coreapi/offeranswer.c
index cbc88c2c14..10d062abf6 100644
--- a/coreapi/offeranswer.c
+++ b/coreapi/offeranswer.c
@@ -232,6 +232,7 @@ int offer_answer_initiate_incoming(const SalMediaDescription *local_capabilities
 			result->streams[i].dir=SalStreamInactive;
 			result->streams[i].port=0;
 			result->streams[i].type=rs->type;
+			result->streams[i].payloads=remote_offer->streams[i].payloads;
 			if (rs->type==SalOther){
 				strncpy(result->streams[i].typeother,rs->typeother,sizeof(rs->typeother)-1);
 			}
-- 
GitLab