1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-21 10:53:48 +00:00
This commit is contained in:
Anthony Minessale 2013-04-24 11:32:58 -05:00
parent 35b584bd19
commit 8a727b0de4

@ -2025,7 +2025,7 @@ static void switch_loadable_module_sort_codecs(const switch_codec_implementation
#endif
}
if (this_ptime != sorted_ptime) {
if (i > 0 && strcasecmp(array[i]->iananame, array[i-1]->iananame) && this_ptime != sorted_ptime) {
int j;
int swapped = 0;