diff options
| author | msheby <msheby@cinecert.com> | 2008-02-01 00:42:18 +0000 |
|---|---|---|
| committer | msheby <> | 2008-02-01 00:42:18 +0000 |
| commit | 3e1ee0a500bd0b513db4bdf18a9cb052f42404d4 (patch) | |
| tree | 4788b1c75799823d902501c0b21f80d8ec2c59fb /src/MPEG2_Parser.cpp | |
| parent | bc0f567deda4c1f06d8910bc5ccd65ffc72b7b34 (diff) | |
Commit a bunch of portability fixes (64- vs. 32-bit types).
Diffstat (limited to 'src/MPEG2_Parser.cpp')
| -rwxr-xr-x | src/MPEG2_Parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MPEG2_Parser.cpp b/src/MPEG2_Parser.cpp index 8b5592e..f7e6dce 100755 --- a/src/MPEG2_Parser.cpp +++ b/src/MPEG2_Parser.cpp @@ -435,7 +435,8 @@ ASDCP::MPEG2::Parser::h__Parser::OpenRead(const char* filename) if ( ASDCP_SUCCESS(result) ) { - m_ParamsDelegate.m_VDesc.ContainerDuration = m_FileReader.Size() / 65536; // a gross approximation + ui64_t tmp = m_FileReader.Size() / 65536; // a gross approximation + m_ParamsDelegate.m_VDesc.ContainerDuration = (ui32_t) tmp; m_Parser.SetDelegate(&m_ParserDelegate); m_FileReader.Seek(0); } |
