diff options
| author | jhurst <jhurst@cinecert.com> | 2014-09-21 13:27:43 +0000 |
|---|---|---|
| committer | jhurst <> | 2014-09-21 13:27:43 +0000 |
| commit | ab3e3df49a9d4a44a3bf11211e31bdeac3ef7bcf (patch) | |
| tree | 52023c92807dde6cb56835e957349327f1b9df0b /src/wavesplit.cpp | |
| parent | 8d24b6effb0377fc3041c2e024e7c5593caecc52 (diff) | |
imf bugs
date parse bug
timed-text transform removed
Diffstat (limited to 'src/wavesplit.cpp')
| -rwxr-xr-x | src/wavesplit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wavesplit.cpp b/src/wavesplit.cpp index f3dd3fd..3fc6899 100755 --- a/src/wavesplit.cpp +++ b/src/wavesplit.cpp @@ -138,12 +138,12 @@ public: case 'd': TEST_EXTRA_ARG(i, 'd'); - duration = atoi(argv[i]); // TODO: test for negative value, should use strtol() + duration = abs(strtol(argv[i], 0, 10)); break; case 'f': TEST_EXTRA_ARG(i, 'f'); - start_frame = atoi(argv[i]); // TODO: test for negative value, should use strtol() + start_frame = abs(strtol(argv[i], 0, 10)); break; case 'h': help_flag = true; break; |
