Here's the mailing list post mentioned in the video, with the details on how to reformat the code:
https://sourceforge.net/p/freedos/mailman/message/58765259/
Also, there's a simpler way to do the LF -> CRLF conversion, as found by neozeed from Virtually Fun: Just zip the source code, then unzip it again using the `unzip -a` command (the `-a` switch performs the auto-conversion)