mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue