[asterisk-commits] twilson: branch 1.4 r113596 - /branches/1.4/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 8 20:34:25 CDT 2008


Author: twilson
Date: Tue Apr  8 20:34:25 2008
New Revision: 113596

URL: http://svn.digium.com/view/asterisk?view=rev&rev=113596
Log:
Initialize fr->cacheable to make valgrind happy

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=113596&r1=113595&r2=113596
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Tue Apr  8 20:34:25 2008
@@ -8295,6 +8295,7 @@
 			ast_log(LOG_DEBUG, "Received out of order packet... (type=%d, subclass %d, ts = %d, last = %d)\n", f.frametype, f.subclass, fr->ts, iaxs[fr->callno]->last);
 		fr->outoforder = -1;
 	}
+	fr->cacheable = ((f.frametype == AST_FRAME_VOICE) || (f.frametype == AST_FRAME_VIDEO));
 	duped_fr = iaxfrdup2(fr);
 	if (duped_fr) {
 		schedule_delivery(duped_fr, updatehistory, 0, &fr->ts);




More information about the asterisk-commits mailing list