From b4a29c37823f38f751ea071bacfc56a6607c46a6 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 1 Mar 2007 20:24:59 +0000 Subject: Constify the list of codec preferences. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57293 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3