Changeset 9657163 for src/io


Ignore:
Timestamp:
Sep 20, 2014, 3:24:43 PM (10 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, pitchshift, sampler, timestretch, yinfft+
Children:
ad1ba08
Parents:
892c369
Message:

src/io/sink_apple_audio.c: avoid opening null path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink_apple_audio.c

    r892c369 r9657163  
    6161  s->max_frames = MAX_SIZE;
    6262  s->async = true;
     63
     64  if (uri == NULL) {
     65    AUBIO_ERROR("sink_apple_audio: Aborted opening null path\n");
     66    goto beach;
     67  }
    6368
    6469  s->samplerate = 0;
Note: See TracChangeset for help on using the changeset viewer.