summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-22 09:22:05 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-22 09:22:05 +0100
commit5e325f63095debd23c0307616f1306c612a9403a (patch)
tree720634f6ef34816d300538d59a5a0844661234a9 /src
parent2ad9d06aee3b2fb7dfd80f74bc28d1f7786f899a (diff)
Replace read_stream with read_string.
Diffstat (limited to 'src')
-rw-r--r--src/smpte_dcp_reader.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/smpte_dcp_reader.cc b/src/smpte_dcp_reader.cc
index 23dd3ce..d8cb875 100644
--- a/src/smpte_dcp_reader.cc
+++ b/src/smpte_dcp_reader.cc
@@ -46,9 +46,7 @@ SMPTEDCPReader::SMPTEDCPReader (boost::filesystem::path file, bool mxf)
string s;
reader.ReadTimedTextResource (s, 0, 0);
- stringstream t;
- t << s;
- xml->read_stream (t);
+ xml->read_string (s);
ASDCP::WriterInfo info;
reader.FillWriterInfo (info);