diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-11 18:27:47 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-11 18:27:47 +0000 |
commit | adf32284d786b12a252f5feb0f67a9bb65117b48 (patch) | |
tree | 13b41c4dbe69fdfe18fe8f5d26befdad2bc40b7e /main/rtp.c | |
parent | 74b3690774ea1d6c1150b7cc9bd40e8181e102c8 (diff) |
Just some minor coding style cleanup...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103318 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r-- | main/rtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/rtp.c b/main/rtp.c index 932c6f62e..1260aff7d 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -1542,7 +1542,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp) rtp->lastrxseqno = seqno; - if (rtp->themssrc==0) + if (!rtp->themssrc) rtp->themssrc = ntohl(rtpheader[2]); /* Record their SSRC to put in future RR */ if (rtp_debug_test_addr(&sin)) @@ -1767,7 +1767,7 @@ void ast_rtp_pt_copy(struct ast_rtp *dest, struct ast_rtp *src) rtp_bridge_lock(dest); rtp_bridge_lock(src); - for (i=0; i < MAX_RTP_PT; ++i) { + for (i = 0; i < MAX_RTP_PT; ++i) { dest->current_RTP_PT[i].isAstFormat = src->current_RTP_PT[i].isAstFormat; dest->current_RTP_PT[i].code = |