[asterisk-commits] may: trunk r313143 - in /trunk: ./ addons/chan_ooh323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Apr 9 16:00:19 CDT 2011


Author: may
Date: Sat Apr  9 16:00:15 2011
New Revision: 313143

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313143
Log:
Merged revisions 313142 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r313142 | may | 2011-04-10 00:56:17 +0400 (Sun, 10 Apr 2011) | 3 lines
  
  fix trivial bug in ooh323_indicate on AST_CONTROL_SRC...
  check p->rtp is not null
........

Modified:
    trunk/   (props changed)
    trunk/addons/chan_ooh323.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_ooh323.c?view=diff&rev=313143&r1=313142&r2=313143
==============================================================================
--- trunk/addons/chan_ooh323.c (original)
+++ trunk/addons/chan_ooh323.c Sat Apr  9 16:00:15 2011
@@ -1259,10 +1259,14 @@
 		}
 	 break;
 	case AST_CONTROL_SRCUPDATE:
-		ast_rtp_instance_update_source(p->rtp);
+		if (p->rtp) {
+			ast_rtp_instance_update_source(p->rtp);
+		}
 		break;
 	case AST_CONTROL_SRCCHANGE:
-		ast_rtp_instance_change_source(p->rtp);
+		if (p->rtp) {
+			ast_rtp_instance_change_source(p->rtp);
+		}
 		break;
 	case AST_CONTROL_CONNECTED_LINE:
 		if (!ast->connected.id.name.valid




More information about the asterisk-commits mailing list