summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-13 14:43:27 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit29fe2d3a4c347e15b987f9e61e56d22a21d4678f (patch)
tree910b7afc8a109733edd76befc0d17e9be902fb1b /src/lib/sndfile_content.cc
parent640a1ef73e575fe891a420dec392dace8b1a0255 (diff)
Remove unnecessary Film variable in ContentPart.
Diffstat (limited to 'src/lib/sndfile_content.cc')
-rw-r--r--src/lib/sndfile_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sndfile_content.cc b/src/lib/sndfile_content.cc
index 81e467d1d..aa31f52c0 100644
--- a/src/lib/sndfile_content.cc
+++ b/src/lib/sndfile_content.cc
@@ -41,13 +41,13 @@ using boost::shared_ptr;
SndfileContent::SndfileContent (shared_ptr<const Film> film, boost::filesystem::path p)
: Content (film, p)
{
- audio.reset (new AudioContent (this, film));
+ audio.reset (new AudioContent (this));
}
SndfileContent::SndfileContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version)
: Content (film, node)
{
- audio = AudioContent::from_xml (this, film, node);
+ audio = AudioContent::from_xml (this, node);
if (audio) {
audio->set_stream (