From e057db8057e77157b3370f9feb8bb4670b1854e7 Mon Sep 17 00:00:00 2001 From: Taybin Rutkin Date: Wed, 8 Mar 2006 22:23:23 +0000 Subject: [PATCH] And a small libsndfile error. git-svn-id: svn://localhost/trunk/ardour2@361 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/sndfile_helpers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/sndfile_helpers.cc b/libs/ardour/sndfile_helpers.cc index 64a05e4734..4ea4a4b5b2 100644 --- a/libs/ardour/sndfile_helpers.cc +++ b/libs/ardour/sndfile_helpers.cc @@ -279,7 +279,7 @@ libsndfile: sf_info.format = 0; // libsndfile says to clear this before sf_open(). - if ((sf = sf_open ((char*) path.c_str(), SFM_READ, &sf_info)) < 0) { + if ((sf = sf_open ((char*) path.c_str(), SFM_READ, &sf_info)) == 0) { return false; }