summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-01 23:25:41 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-01 23:25:41 +0100
commit3cb34b4158c7e0e02e0f5aa751b1ca5775e0be98 (patch)
tree41483027c4f5420c9c0b5ba8b36ce80a87c652c9 /src
parenta015aebf5b641c62c6c69c0f2667d8fd9a87ade4 (diff)
parent2effb3dcb769838f5cc44c749bff8fdbcd90d218 (diff)
Merge branch 'master' of ssh://carlh.dnsalias.org/home/carl/git/libdcp
Diffstat (limited to 'src')
-rw-r--r--src/sound_asset.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 014b95a2..e18441c6 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -298,7 +298,8 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, list<str
shared_ptr<const SoundFrame>
SoundAsset::get_frame (int n) const
{
- return shared_ptr<const SoundFrame> (new SoundFrame (path().string(), n + _entry_point));
+ /* XXX: should add on entry point here? */
+ return shared_ptr<const SoundFrame> (new SoundFrame (path().string(), n));
}
shared_ptr<SoundAssetWriter>