diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-16 22:23:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-21 20:33:37 +0100 |
| commit | 858d32c386e089b41e594eedb4d15f421da3d5d0 (patch) | |
| tree | e3a563dfa0f32e1eadd978f898ce083b11bd2cf3 | |
| parent | d942ba691367c646a1f019548797cfc026ebd223 (diff) | |
Hackily fix use of undefinied variable if !ASDCP_SUCCESS(result) happens here.
| -rwxr-xr-x | src/AS_DCP_PCM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/AS_DCP_PCM.cpp b/src/AS_DCP_PCM.cpp index f971693..d67ce26 100755 --- a/src/AS_DCP_PCM.cpp +++ b/src/AS_DCP_PCM.cpp @@ -268,6 +268,8 @@ ASDCP::PCM::MXFReader::h__Reader::OpenRead(const std::string& filename) { Result_t result = OpenMXFRead(filename); + m_ADesc.ContainerDuration = 0; + if( ASDCP_SUCCESS(result) ) { InterchangeObject* Object = 0 |
