projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2882b3f
)
src/io/source_sndfile.c: allow closing twice
author
Paul Brossier
<piem@piem.org>
Mon, 27 Feb 2017 00:34:10 +0000
(
01:34
+0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 27 Feb 2017 00:34:10 +0000
(
01:34
+0100)
src/io/source_sndfile.c
patch
|
blob
|
history
diff --git
a/src/io/source_sndfile.c
b/src/io/source_sndfile.c
index
4c830ba
..
eea2ffc
100644
(file)
--- a/
src/io/source_sndfile.c
+++ b/
src/io/source_sndfile.c
@@
-320,7
+320,7
@@
uint_t aubio_source_sndfile_seek (aubio_source_sndfile_t * s, uint_t pos) {
uint_t aubio_source_sndfile_close (aubio_source_sndfile_t *s) {
if (!s->handle) {
- return AUBIO_
FAIL
;
+ return AUBIO_
OK
;
}
if(sf_close(s->handle)) {
AUBIO_ERR("source_sndfile: Error closing file %s: %s\n", s->path, sf_strerror (NULL));