Turns out it was a calcium deposit on a ligment. They x-rayed it and said that it's quite common, and not to worry about it unless it starts causing any pain or other problems. What a relief.