fix ffmpeg version error

修复ffmpeg版本非数字时出错

Fix ffmpeg version error if it's not numerical.

For example: ``N-45175-gd6711ee-``