From 859e9106e72a7908fa093d946111d148223225a0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Feb 2008 22:55:47 +0000 Subject: Merge with 2.0-ongoing R3071. git-svn-id: svn://localhost/ardour2/branches/3.0@3074 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/analyser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/analyser.cc') diff --git a/libs/ardour/analyser.cc b/libs/ardour/analyser.cc index 7ddb5428e9..2e14c74b86 100644 --- a/libs/ardour/analyser.cc +++ b/libs/ardour/analyser.cc @@ -95,7 +95,7 @@ Analyser::work () boost::shared_ptr afs = boost::dynamic_pointer_cast (src); - if (afs) { + if (afs && afs->length()) { analyse_audio_file_source (afs); } } -- cgit v1.2.3