Changeset 2882b3f


Ignore:
Timestamp:
Feb 27, 2017, 1:33:21 AM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler
Children:
48ebc3b
Parents:
a6222fc
Message:

src/io/source_wavread.c: allow closing twice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_wavread.c

    ra6222fc r2882b3f  
    440440
    441441uint_t aubio_source_wavread_close (aubio_source_wavread_t * s) {
    442   if (!s->fid) {
    443     return AUBIO_FAIL;
     442  if (s->fid == NULL) {
     443    return AUBIO_OK;
    444444  }
    445445  if (fclose(s->fid)) {
Note: See TracChangeset for help on using the changeset viewer.