Changeset 48ebc3b for src/io


Ignore:
Timestamp:
Feb 27, 2017, 1:34:10 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
Children:
25d58dc
Parents:
2882b3f
Message:

src/io/source_sndfile.c: allow closing twice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_sndfile.c

    r2882b3f r48ebc3b  
    321321uint_t aubio_source_sndfile_close (aubio_source_sndfile_t *s) {
    322322  if (!s->handle) {
    323     return AUBIO_FAIL;
     323    return AUBIO_OK;
    324324  }
    325325  if(sf_close(s->handle)) {
Note: See TracChangeset for help on using the changeset viewer.