Fix typo.

This commit is contained in:
Sandrine Avakian 2016-11-22 17:38:44 +01:00
parent 6db2415a51
commit f6f72cc5ff

View file

@ -1187,7 +1187,7 @@ static PayloadType* find_payload_type_from_list(const char* type, int rate, int
static bool_t linphone_core_codec_supported(LinphoneCore *lc, SalStreamType type, const char *mime){
if (type == SalVideo && lp_config_get_int(lc->config, "video", "rtp_io", FALSE)){
return TRUE; /*in rtp io mode, we don't transcode video, thus we can support a format for which we have no encoder nor decoder.*/
if (type == SalAudio && lp_config_get_int(lc->config, "sound", "rtp_io", FALSE)){
} else if (type == SalAudio && lp_config_get_int(lc->config, "sound", "rtp_io", FALSE)){
return TRUE; /*in rtp io mode, we don't transcode video, thus we can support a format for which we have no encoder nor decoder.*/
} else if (type == SalText) {
return TRUE;