mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-09 03:45:27 +00:00
Fix coding guidelines issue with a recent commit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@372328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2799,8 +2799,7 @@ static int bridge_p2p_rtp_write(struct ast_rtp_instance *instance, unsigned int
|
||||
}
|
||||
|
||||
/* If the payload coming in is not one of the negotiated ones then send it to the core, this will cause formats to change and the bridge to break */
|
||||
if (ast_rtp_codecs_find_payload_code(ast_rtp_instance_get_codecs(instance1),bridged_payload) == -1)
|
||||
{
|
||||
if (ast_rtp_codecs_find_payload_code(ast_rtp_instance_get_codecs(instance1), bridged_payload) == -1) {
|
||||
ast_debug(1, "Unsupported payload type received \n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user