diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-19 15:36:32 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-19 15:36:32 +0000 |
commit | 07029c4112efe35cd35a4703c6ffa39476647448 (patch) | |
tree | f72e961732b154101fd13d9d05ac0703bcc1a235 | |
parent | 932cca703eafaaa50d7acf1bc25da487a7b3abba (diff) |
missing initializer for _follow_overlap in Crossfade - can lead to exceptions during reload because newlength gets set unconditionally to zero during update(), and this leads to a call to shared_from_this() within a constructor. this situation (the exception) is still theoretically possible but has not been in the wild. it should still be fixed.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5381 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/crossfade.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/crossfade.cc b/libs/ardour/crossfade.cc index 7a24404721..d9c98e0e25 100644 --- a/libs/ardour/crossfade.cc +++ b/libs/ardour/crossfade.cc @@ -100,6 +100,7 @@ Crossfade::Crossfade (boost::shared_ptr<AudioRegion> a, boost::shared_ptr<AudioR { _in_update = false; _fixed = false; + _follow_overlap = false; if (compute (a, b, model)) { throw failed_constructor(); |