13
0

fix a typo.

Really a no-op, AudioSource::length() ignores the position, and
for regular regions > 0 is equivalent to != 0
This commit is contained in:
Robin Gareus 2016-09-23 18:46:34 +02:00
parent bad7dcbfa5
commit f7cb5b1a6b

View File

@ -3088,7 +3088,7 @@ Session::cleanup_sources (CleanupReport& rep)
capture files.
*/
if (!i->second->used() && (i->second->length(i->second->timeline_position() > 0))) {
if (!i->second->used() && (i->second->length(i->second->timeline_position()) > 0)) {
dead_sources.push_back (i->second);
i->second->drop_references ();
}