projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb27a92
)
boost::filesystem.
author
Carl Hetherington
<cth@carlh.net>
Fri, 4 Oct 2013 10:20:48 +0000
(11:20 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 4 Oct 2013 10:20:48 +0000
(11:20 +0100)
src/sound_asset.cc
patch
|
blob
|
history
diff --git
a/src/sound_asset.cc
b/src/sound_asset.cc
index ec82752c290ea6f68efb912942f4d4e654169b94..88f9a0fb5ed7c4ae84eb8677fe977b9408943a6a 100644
(file)
--- a/
src/sound_asset.cc
+++ b/
src/sound_asset.cc
@@
-123,7
+123,7
@@
SoundAsset::create (boost::function<boost::filesystem::path (Channel)> get_path)
boost::filesystem::path const path = get_path (channels[i]);
- if (ASDCP_FAILURE (pcm_parser_channel[i].OpenRead (path.c_str(), asdcp_edit_rate))) {
+ if (ASDCP_FAILURE (pcm_parser_channel[i].OpenRead (path.
string().
c_str(), asdcp_edit_rate))) {
boost::throw_exception (FileError ("could not open WAV file for reading", path));
}