diff --git a/main/channel.c b/main/channel.c index 4cd7f35bce5d390545816f0a21c175b6304604ae..3a3656c35a919ffd0874b3531f9aa50df2948fc3 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,