summaryrefslogtreecommitdiff
path: root/src/AS_DCP_MXF.cpp
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2007-10-25 18:44:45 +0000
committermsheby <>2007-10-25 18:44:45 +0000
commitdeadc1bf01e8bc68905c7d33578ffb77b8317c8f (patch)
treee23733b29ffed1a996599c00a3c74490dcff3a3d /src/AS_DCP_MXF.cpp
parentc5e3e4e83032b790c62bd55795a20dd912010c9f (diff)
Win32 portability fixes
Diffstat (limited to 'src/AS_DCP_MXF.cpp')
-rwxr-xr-xsrc/AS_DCP_MXF.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AS_DCP_MXF.cpp b/src/AS_DCP_MXF.cpp
index 1d4f473..2392057 100755
--- a/src/AS_DCP_MXF.cpp
+++ b/src/AS_DCP_MXF.cpp
@@ -202,14 +202,14 @@ ASDCP::RawEssenceType(const char* filename, EssenceType_t& type)
if ( i > 1 && p[i] == 1 && (p[i+1] == ASDCP::MPEG2::SEQ_START || p[i+1] == ASDCP::MPEG2::PIC_START) )
type = ESS_MPEG2_VES;
- else if ( Kumu::StringIsXML((const char*)p, FB.Size()) )
- type = ESS_TIMED_TEXT;
-
else if ( ASDCP_SUCCESS(WavHeader.ReadFromBuffer(p, read_count, &data_offset)) )
type = ESS_PCM_24b_48k;
else if ( ASDCP_SUCCESS(AIFFHeader.ReadFromBuffer(p, read_count, &data_offset)) )
type = ESS_PCM_24b_48k;
+
+ else if ( Kumu::StringIsXML((const char*)p, FB.Size()) )
+ type = ESS_TIMED_TEXT;
}
}
else if ( Kumu::PathIsDirectory(filename) )