This commit is contained in:
Anthony Minessale 2013-04-24 11:32:58 -05:00
parent 35b584bd19
commit 8a727b0de4
1 changed files with 1 additions and 1 deletions

View File

@ -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;