diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-23 12:22:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-23 12:22:34 +0000 |
| commit | a0c0e609f7fbff8513135428378cc16684bae937 (patch) | |
| tree | 25e800debbb1ec6ab60fd0a4fc8e593c81addaea /src/lib/sndfile_decoder.cc | |
| parent | 90b84151b9817b33381187f678cb2fdd062ed785 (diff) | |
Remove Content::path(), add Content::path_summary().
Diffstat (limited to 'src/lib/sndfile_decoder.cc')
| -rw-r--r-- | src/lib/sndfile_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sndfile_decoder.cc b/src/lib/sndfile_decoder.cc index 09ccf4fbc..e10f4f568 100644 --- a/src/lib/sndfile_decoder.cc +++ b/src/lib/sndfile_decoder.cc @@ -40,7 +40,7 @@ SndfileDecoder::SndfileDecoder (shared_ptr<const Film> f, shared_ptr<const Sndfi , _deinterleave_buffer (0) { _info.format = 0; - _sndfile = sf_open (_sndfile_content->path().string().c_str(), SFM_READ, &_info); + _sndfile = sf_open (_sndfile_content->path(0).string().c_str(), SFM_READ, &_info); if (!_sndfile) { throw DecodeError (_("could not open audio file for reading")); } |
