summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-03-01 20:24:59 +0000
committerRussell Bryant <russell@russellbryant.com>2007-03-01 20:24:59 +0000
commitb4a29c37823f38f751ea071bacfc56a6607c46a6 (patch)
tree7ec8abf1964544149135d74162949823c5231542
parent1c2da14cd44bc91133fdc855e3228ad12be6045e (diff)
Constify the list of codec preferences.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 4cd7f35bc..3a3656c35 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -571,7 +571,7 @@ int ast_best_codec(int fmts)
/* 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,