[Asterisk-cvs] asterisk/channels chan_iax2.c,1.242,1.243
markster at lists.digium.com
markster at lists.digium.com
Fri Jan 28 16:06:30 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv19725/channels
Modified Files:
chan_iax2.c
Log Message:
Reduce complexity of check for f->samples / 8 not being 0
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -d -r1.242 -r1.243
--- chan_iax2.c 25 Jan 2005 06:10:19 -0000 1.242
+++ chan_iax2.c 28 Jan 2005 22:08:24 -0000 1.243
@@ -3027,7 +3027,7 @@
* next multiple of frame size (so our
* silent periods are multiples of
* frame size too) */
- if (f->samples / 8) /* check to make sure we dont core dump */
+ if (f->samples >= 8) /* check to make sure we dont core dump */
{
int diff = ms % (f->samples / 8);
if (diff)
More information about the svn-commits
mailing list