diff options
| author | John Hurst <jhurst@cinecert.com> | 2023-07-31 08:00:50 -0700 |
|---|---|---|
| committer | John Hurst <jhurst@cinecert.com> | 2023-07-31 08:00:50 -0700 |
| commit | 31e6bb2b3dfc330ae9ca35add278836cdc6ad19a (patch) | |
| tree | a6d915a1bd217548020bcdbbb9080f848ae06a8c /src/as-02-info.cpp | |
| parent | 017b179b97e034981f803591070b886f3a9e70bb (diff) | |
fix: allow full 64 bits of index duration through API
Diffstat (limited to 'src/as-02-info.cpp')
| -rw-r--r-- | src/as-02-info.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/as-02-info.cpp b/src/as-02-info.cpp index a1235ac..275111c 100644 --- a/src/as-02-info.cpp +++ b/src/as-02-info.cpp @@ -786,12 +786,12 @@ public: { m_Desc.FillDescriptor(m_Reader); m_Reader.FillWriterInfo(m_WriterInfo); - - fprintf(stdout, "%s file essence type is %s, (%d edit unit%s).\n", + ui64_t container_duration = m_Desc.ContainerDuration; + fprintf(stdout, "%s file essence type is %s, (%llu edit unit%s).\n", ( m_WriterInfo.LabelSetType == LS_MXF_SMPTE ? "SMPTE 2067-5" : "Unknown" ), type_string, - m_Desc.ContainerDuration, - (m_Desc.ContainerDuration == (ui64_t)1 ? "":"s")); + container_duration, + (container_duration == ui64_C(1) ? "":"s")); if ( Options.showheader_flag ) { |
