From adf32284d786b12a252f5feb0f67a9bb65117b48 Mon Sep 17 00:00:00 2001 From: file Date: Mon, 11 Feb 2008 18:27:47 +0000 Subject: Just some minor coding style cleanup... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103318 f38db490-d61c-443f-a65b-d21fe96a405b --- main/rtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/rtp.c') 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 = -- cgit v1.2.3