added ffmpeg support according to cyanogenmod