If he/she is a meatie bird it is not uncommon to have leg problems due to fast weight gain or if he/she was a layer and was stuck in a layer's crate its not uncommon for the muscle to deteriorate without exercise. Sounds like therapy is needed in either situation.