[asterisk-commits] oej: branch oej/realtimetext-t140 r48978 - /team/oej/realtimetext-t140/channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Dec 27 09:25:08 MST 2006


Author: oej
Date: Wed Dec 27 10:25:08 2006
New Revision: 48978

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48978
Log:
Initialize text rtp properly 

Modified:
    team/oej/realtimetext-t140/channels/chan_sip.c

Modified: team/oej/realtimetext-t140/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/realtimetext-t140/channels/chan_sip.c?view=diff&rev=48978&r1=48977&r2=48978
==============================================================================
--- team/oej/realtimetext-t140/channels/chan_sip.c (original)
+++ team/oej/realtimetext-t140/channels/chan_sip.c Wed Dec 27 10:25:08 2006
@@ -4911,6 +4911,7 @@
 
 	newtextrtp = alloca(ast_rtp_alloc_size());
 	memset(newtextrtp, 0, ast_rtp_alloc_size());
+	ast_rtp_new_init(newtextrtp);
 	ast_rtp_pt_clear(newtextrtp);
 
 	/* Update our last rtprx when we receive an SDP, too */



More information about the asterisk-commits mailing list