And a small libsndfile error.

git-svn-id: svn://localhost/trunk/ardour2@361 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Taybin Rutkin 2006-03-08 22:23:23 +00:00
parent 52089ed9fb
commit e057db8057

View File

@ -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;
}