<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>asterisk-dev Digest, Vol 24, Issue 23</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText18576 dir=ltr>
<DIV dir=ltr><FONT size=2><FONT face=Arial>Greetings -</FONT></FONT></DIV>
<DIV dir=ltr><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV dir=ltr><FONT size=2><FONT face=Arial>I checked out asterisk 1.2.9 and am
now looking at line #443 in rtp.c. Here it is:</FONT></FONT></DIV>
<DIV dir=ltr><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV dir=ltr><FONT size=2>
442 unsigned int
*rtpheader;<BR>
443 static struct ast_frame *f,
null_frame = { AST_FRAME_NULL, };<BR>
444 struct rtpPayloadType
rtpPT;<BR> 445<BR></FONT></DIV>
<DIV dir=ltr><FONT size=2>Does anybody understand why "struct ast_frame* f" is
made static ?<BR>I understand why "null_frame" is static but why "f"should
be?</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2>Is it not making ast_rtp_read a little less
reentrant?</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2>Thanks</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2>-c</DIV></DIV></FONT>
</BODY>
</HTML>