Skip to content

Commit

Permalink
minor bugfix in version determination
Browse files Browse the repository at this point in the history
  • Loading branch information
schaermu committed Mar 8, 2012
1 parent 0bdc5f1 commit ecc0766
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand Down

0 comments on commit ecc0766

Please sign in to comment.