[asterisk-commits] branch 1.2 r37546 - /branches/1.2/rtp.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jul 13 11:44:18 MST 2006


Author: russell
Date: Thu Jul 13 13:44:17 2006
New Revision: 37546

URL: http://svn.digium.com/view/asterisk?rev=37546&view=rev
Log:
yeah, ummm...  This frame pointer should not be static.  This situation only
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list)

Modified:
    branches/1.2/rtp.c

Modified: branches/1.2/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/rtp.c?rev=37546&r1=37545&r2=37546&view=diff
==============================================================================
--- branches/1.2/rtp.c (original)
+++ branches/1.2/rtp.c Thu Jul 13 13:44:17 2006
@@ -440,7 +440,8 @@
 	unsigned int ssrc;
 	unsigned int timestamp;
 	unsigned int *rtpheader;
-	static struct ast_frame *f, null_frame = { AST_FRAME_NULL, };
+	struct ast_frame *f;
+	static struct ast_frame null_frame = { AST_FRAME_NULL, };
 	struct rtpPayloadType rtpPT;
 	
 	len = sizeof(sin);



More information about the asterisk-commits mailing list