summaryrefslogtreecommitdiff
path: root/src/sound_frame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_frame.cc')
-rw-r--r--src/sound_frame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_frame.cc b/src/sound_frame.cc
index da0da194..c79b29b3 100644
--- a/src/sound_frame.cc
+++ b/src/sound_frame.cc
@@ -32,7 +32,7 @@ using namespace dcp;
SoundFrame::SoundFrame (boost::filesystem::path mxf_path, int n, ASDCP::AESDecContext* c)
{
ASDCP::PCM::MXFReader reader;
- Kumu::Result_t r = reader.OpenRead (mxf_path.file().c_str());
+ Kumu::Result_t r = reader.OpenRead (mxf_path.string().c_str());
if (ASDCP_FAILURE (r)) {
boost::throw_exception (FileError ("could not open MXF file for reading", mxf_path, r));
}