mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix regression regarding reading of codecs configuration
This commit is contained in:
parent
dea7a7661c
commit
466005a5e8
1 changed files with 2 additions and 2 deletions
|
|
@ -627,7 +627,7 @@ static PayloadType * find_payload(RtpProfile *prof, const char *mime_type, int c
|
|||
return candidate;
|
||||
}
|
||||
|
||||
static bool_t get_codec(LpConfig *config, char* type, int index, PayloadType **ret){
|
||||
static bool_t get_codec(LpConfig *config, const char* type, int index, PayloadType **ret){
|
||||
char codeckey[50];
|
||||
const char *mime,*fmtp;
|
||||
int rate,enabled;
|
||||
|
|
@ -707,7 +707,7 @@ static MSList *add_missing_codecs(SalStreamType mtype, MSList *l){
|
|||
|
||||
static MSList *codec_append_if_new(MSList *l, PayloadType *pt){
|
||||
MSList *elem;
|
||||
for (elem=l;l!=NULL;l=elem->next){
|
||||
for (elem=l;elem!=NULL;elem=elem->next){
|
||||
PayloadType *ept=(PayloadType*)elem->data;
|
||||
if (pt==ept)
|
||||
return l;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue