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/AS_DCP_internal.h | |
| parent | 8d24b6effb0377fc3041c2e024e7c5593caecc52 (diff) | |
imf bugs
date parse bug
timed-text transform removed
Diffstat (limited to 'src/AS_DCP_internal.h')
| -rwxr-xr-x | src/AS_DCP_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h index 7875a4f..c1df8ad 100755 --- a/src/AS_DCP_internal.h +++ b/src/AS_DCP_internal.h @@ -73,14 +73,14 @@ namespace ASDCP { assert(r >= pstr); if ( r > pstr ) - result.push_back(atoi(pstr)); + result.push_back(strtol(pstr, 0, 10)); pstr = r + 1; r = strchr(pstr, '.'); } if( strlen(pstr) > 0 ) - result.push_back(atoi(pstr)); + result.push_back(strtol(pstr, 0, 10)); assert(result.size() == 3); return result; |
