diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:35:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:35:54 +0000 |
| commit | 5877be91301e5dd54ca125c0acd7bfb1ecc3dcd6 (patch) | |
| tree | 96952a50aeb4f68ab458f8191a3d464f8ced7aa7 /src/smpte_dcp_reader.cc | |
| parent | 462902f22a930c52d6d4ac4ac9097d078108b568 (diff) | |
No-op; remove trailing whitespace.
Diffstat (limited to 'src/smpte_dcp_reader.cc')
| -rw-r--r-- | src/smpte_dcp_reader.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/smpte_dcp_reader.cc b/src/smpte_dcp_reader.cc index 6014196..606d9e5 100644 --- a/src/smpte_dcp_reader.cc +++ b/src/smpte_dcp_reader.cc @@ -36,14 +36,14 @@ using namespace sub; SMPTEDCPReader::SMPTEDCPReader (boost::filesystem::path file, bool mxf) { shared_ptr<cxml::Document> xml (new cxml::Document ("SubtitleReel")); - + if (mxf) { ASDCP::TimedText::MXFReader reader; Kumu::Result_t r = reader.OpenRead (file.string().c_str ()); if (ASDCP_FAILURE (r)) { boost::throw_exception (MXFError ("could not open MXF file for reading")); } - + string s; reader.ReadTimedTextResource (s, 0, 0); stringstream t; @@ -52,7 +52,7 @@ SMPTEDCPReader::SMPTEDCPReader (boost::filesystem::path file, bool mxf) ASDCP::WriterInfo info; reader.FillWriterInfo (info); - + char buffer[64]; Kumu::bin2UUIDhex (info.AssetUUID, ASDCP::UUIDlen, buffer, sizeof (buffer)); _id = buffer; @@ -60,7 +60,7 @@ SMPTEDCPReader::SMPTEDCPReader (boost::filesystem::path file, bool mxf) xml->read_file (file); _id = xml->string_child("Id").substr (9); } - + _load_font_nodes = type_children<dcp::SMPTELoadFont> (xml, "LoadFont"); parse_common (xml, xml->number_child<int> ("TimeCodeRate")); |
