Make FFmpeg working on Android platform

Require @oioitff media branch