Make ffmpeg to support larger variation of forks and versions