diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 77080eba8..19d6f1378 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -4511,7 +4511,7 @@ static PayloadType* find_payload_type_from_list(const char* type, int rate,const const MSList *elem; for(elem=from;elem!=NULL;elem=elem->next){ PayloadType *pt=(PayloadType*)elem->data; - if ((strcmp((char*)type, payload_type_get_mime(pt)) == 0) && (rate == -1 || rate==pt->clock_rate)) { + if ((strcasecmp((char*)type, payload_type_get_mime(pt)) == 0) && (rate == -1 || rate==pt->clock_rate)) { return pt; } }