make amplayer compile again.

* it is working modulo AV/Sync and video dimension/orientation