And a small libsndfile error.
git-svn-id: svn://localhost/trunk/ardour2@361 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
52089ed9fb
commit
e057db8057
|
@ -279,7 +279,7 @@ libsndfile:
|
||||||
|
|
||||||
sf_info.format = 0; // libsndfile says to clear this before sf_open().
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user