mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Constify the list of codec preferences.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user