FFmpeg compilation

- Solved compilation bug with new version of FFMpeg
- Added x86 and ARMv5 (old devices) support