diff options
| author | jhurst <jhurst@cinecert.com> | 2011-05-13 01:50:36 +0000 |
|---|---|---|
| committer | jhurst <> | 2011-05-13 01:50:36 +0000 |
| commit | 50fab55d36abf7f01c733d2f80833408dbe0f761 (patch) | |
| tree | d4f8c7be9b104debe87f560b6ed892786f3a0741 /src/AS_DCP_PCM.cpp | |
| parent | 6a19e4f305c6936ea3a09e2f96a622372e1f4ab2 (diff) | |
the story so far
Diffstat (limited to 'src/AS_DCP_PCM.cpp')
| -rwxr-xr-x | src/AS_DCP_PCM.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/AS_DCP_PCM.cpp b/src/AS_DCP_PCM.cpp index 635c176..f93815b 100755 --- a/src/AS_DCP_PCM.cpp +++ b/src/AS_DCP_PCM.cpp @@ -373,6 +373,19 @@ ASDCP::PCM::MXFReader::DumpIndex(FILE* stream) const m_Reader->m_FooterPart.Dump(stream); } +// +ASDCP::Result_t +ASDCP::PCM::MXFReader::Close() const +{ + if ( m_Reader && m_Reader->m_File.IsOpen() ) + { + m_Reader->Close(); + return RESULT_OK; + } + + return RESULT_INIT; +} + //------------------------------------------------------------------------------------------ |
