[svn-commits] russell: trunk r57293 - /trunk/main/channel.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Mar 1 13:25:00 MST 2007


Author: russell
Date: Thu Mar  1 14:24:59 2007
New Revision: 57293

URL: http://svn.digium.com/view/asterisk?view=rev&rev=57293
Log:
Constify the list of codec preferences.

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=57293&r1=57292&r2=57293
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Thu Mar  1 14:24:59 2007
@@ -571,7 +571,7 @@
 	/* This just our opinion, expressed in code.  We are asked to choose
 	   the best codec to use, given no information */
 	int x;
-	static int prefs[] =
+	static const int prefs[] =
 	{
 		/*! Okay, ulaw is used by all telephony equipment, so start with it */
 		AST_FORMAT_ULAW,



More information about the svn-commits mailing list