From ecc07664c15e511d72fef25b59f125d245090493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Scha=CC=88rmeli?= Date: Thu, 8 Mar 2012 17:27:25 +0100 Subject: [PATCH] minor bugfix in version determination --- lib/metadata.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/metadata.js b/lib/metadata.js index 684ae801..19dd9571 100644 --- a/lib/metadata.js +++ b/lib/metadata.js @@ -37,9 +37,10 @@ var meta = module.exports = { if (getVersion) { if (!getVersion[2]) { getVersion[2] = getVersion[3]; + getVersion[3] = null; } ffmpegVersion = getVersion[1] + '.' + getVersion[2]; - if (!getVersion[3]) { + if (getVersion[3]) { ffmpegVersion += '.' + getVersion[3]; } }