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/AS_DCP_PCM.cpp | |
| parent | bc0f567deda4c1f06d8910bc5ccd65ffc72b7b34 (diff) | |
Commit a bunch of portability fixes (64- vs. 32-bit types).
Diffstat (limited to 'src/AS_DCP_PCM.cpp')
| -rwxr-xr-x | src/AS_DCP_PCM.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AS_DCP_PCM.cpp b/src/AS_DCP_PCM.cpp index 1db626c..faf42f1 100755 --- a/src/AS_DCP_PCM.cpp +++ b/src/AS_DCP_PCM.cpp @@ -67,6 +67,7 @@ MD_to_PCM_ADesc(MXF::WaveAudioDescriptor* ADescObj, PCM::AudioDescriptor& ADesc) ADesc.BlockAlign = ADescObj->BlockAlign; ADesc.AvgBps = ADescObj->AvgBps; ADesc.LinkedTrackID = ADescObj->LinkedTrackID; + assert(ADescObj->ContainerDuration <= 0xFFFFFFFFL); ADesc.ContainerDuration = ADescObj->ContainerDuration; return RESULT_OK; } |
