diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-03-08 22:23:23 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-03-08 22:23:23 +0000 |
commit | e057db8057e77157b3370f9feb8bb4670b1854e7 (patch) | |
tree | bb85f1ed835773edfebfa284e52688ebb2fae034 /libs/ardour/sndfile_helpers.cc | |
parent | 52089ed9fbce56ea578eb24949c1371739eb108d (diff) |
And a small libsndfile error.
git-svn-id: svn://localhost/trunk/ardour2@361 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfile_helpers.cc')
-rw-r--r-- | libs/ardour/sndfile_helpers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |