Update AMLPlayer.cpp

Proper fixed as suggested by davilla and  Arne
Merge pull request #2997 from mvdroest/patch-2

Update AMLPlayer.cpp