diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-13 18:44:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-13 18:44:05 +0000 |
commit | d1bc9e330b5b36d1d31af61e057871fc66a98749 (patch) | |
tree | 8cc62f290a6872078000d1f12e5dfb7da2f317af /libs/ardour/filter.cc | |
parent | 804da5653127aaedda057d3c683be5817f335fef (diff) |
Some small cleanups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5180 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/filter.cc')
-rw-r--r-- | libs/ardour/filter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/filter.cc b/libs/ardour/filter.cc index 32e942b924..5922936b85 100644 --- a/libs/ardour/filter.cc +++ b/libs/ardour/filter.cc @@ -40,6 +40,7 @@ int Filter::make_new_sources (boost::shared_ptr<Region> region, SourceList& nsrcs, string suffix) { vector<string> names = region->master_source_names(); + assert (region->n_channels() <= names.size()); for (uint32_t i = 0; i < region->n_channels(); ++i) { |