Fix ffmpeg version parsing

pull/4072/head
Chocobozzz 2021-05-07 14:23:43 +02:00
parent ce4b4495ff
commit 1ff9f1cda3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ function getFFmpegVersion () {
// Fix ffmpeg version that does not include patch version (4.4 for example)
let version = parsed[1]
if (version.match(/^\d+\.\d+/)) {
if (version.match(/^\d+\.\d+$/)) {
version += '.0'
}