mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Merge "rtp_engine: Skip useless self-assignment in ast_rtp_engine_unload_format."
This commit is contained in:
@@ -1798,7 +1798,9 @@ int ast_rtp_engine_unload_format(struct ast_format *format)
|
|||||||
rtp_engine_mime_type_cleanup(x);
|
rtp_engine_mime_type_cleanup(x);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
ast_rtp_mime_types[y] = ast_rtp_mime_types[x];
|
if (x != y) {
|
||||||
|
ast_rtp_mime_types[y] = ast_rtp_mime_types[x];
|
||||||
|
}
|
||||||
y++;
|
y++;
|
||||||
}
|
}
|
||||||
mime_types_len = y;
|
mime_types_len = y;
|
||||||
|
|||||||
Reference in New Issue
Block a user