summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2019-02-12 09:24:05 -0800
committerjhurst <jhurst@cinecert.com>2019-02-12 09:24:05 -0800
commit295fcde47d6445a3772268d144e6e15b17c310ce (patch)
treedbdd34d0495dfad1dd399e5bb0b5b7e4ba945658 /src
parent260692554632887d4e978775001081add386b909 (diff)
o Fixed parsing of -tfr option value
Diffstat (limited to 'src')
-rwxr-xr-xsrc/as-02-wrap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/as-02-wrap.cpp b/src/as-02-wrap.cpp
index de13d95..a498474 100755
--- a/src/as-02-wrap.cpp
+++ b/src/as-02-wrap.cpp
@@ -473,12 +473,12 @@ public:
std::list<std::string> range_tokens = Kumu::km_token_split(arg, ",");
if ( range_tokens.size() != 2 )
{
- fprintf(stderr, "Expecting a luminance pair.\n");
+ fprintf(stderr, "Expecting a code value pair.\n");
return false;
}
- if ( ! set_luminance_from_token(range_tokens.front(), target_frame_min_ref) ) return false;
- if ( ! set_luminance_from_token(range_tokens.back(), target_frame_max_ref) ) return false;
+ target_frame_min_ref = strtol(range_tokens.front().c_str(), 0 , 10);
+ target_frame_max_ref = strtol(range_tokens.back().c_str(), 0 , 10);
return true;
}