diff options
author | Joshua Colp <jcolp@digium.com> | 2008-02-11 18:27:47 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-02-11 18:27:47 +0000 |
commit | c81350d6f65e9a11da6b3b15a81d8cfb7a5eb6f5 (patch) | |
tree | 13b41c4dbe69fdfe18fe8f5d26befdad2bc40b7e /main/rtp.c | |
parent | ef267cd83817c17c46b2b924e765edebd13bb508 (diff) |
Just some minor coding style cleanup...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 = |