Update AMLPlayer.cpp

Proper fixed as suggested by davilla and  Arne