Changeset 08246ee for src


Ignore:
Timestamp:
Mar 31, 2019, 11:12:30 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
Children:
1dfe409
Parents:
135bc14 (diff), 59109e9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'feature/sink_vorbis' into feature/autosink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink_vorbis.c

    r135bc14 r08246ee  
    120120  s->fid = fopen((const char *)s->path, "wb");
    121121  if (!s->fid) {
    122     char errorstr[256];
    123     AUBIO_STRERROR(errno, errorstr, sizeof(errorstr));
    124     AUBIO_ERR("sink_vorbis: Error opening file \'%s\' (%s)\n",
     122    AUBIO_STRERR("sink_vorbis: Error opening file \'%s\' (%s)\n",
    125123        s->path, errorstr);
    126124    return AUBIO_FAIL;
     
    214212  result &= (wrote == (unsigned)s->og.body_len);
    215213  if (result == 0) {
    216     char errorstr[256];
    217     AUBIO_STRERROR(errno, errorstr, sizeof(errorstr));
    218     AUBIO_ERR("sink_vorbis: failed writing \'%s\' to disk (%s)\n",
     214    AUBIO_STRERR("sink_vorbis: failed writing \'%s\' to disk (%s)\n",
    219215        s->path, errorstr);
    220216    return AUBIO_FAIL;
     
    308304
    309305  if (s->fid && fclose(s->fid)) {
    310     char errorstr[256];
    311     AUBIO_STRERROR(errno, errorstr, sizeof(errorstr));
    312     AUBIO_ERR("sink_vorbis: Error closing file \'%s\' (%s)\n",
     306    AUBIO_STRERR("sink_vorbis: Error closing file \'%s\' (%s)\n",
    313307        s->path, errorstr);
    314308    return AUBIO_FAIL;
Note: See TracChangeset for help on using the changeset viewer.