Fix ffmpeg library link order
Separated into a library in order to import it on Android later
Merge branch 'android-lib' into android

Conflicts:
	CMakeLists.txt