- Timestamp:
- Mar 31, 2019, 11:12:30 PM (6 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/sink_vorbis.c
r135bc14 r08246ee 120 120 s->fid = fopen((const char *)s->path, "wb"); 121 121 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", 125 123 s->path, errorstr); 126 124 return AUBIO_FAIL; … … 214 212 result &= (wrote == (unsigned)s->og.body_len); 215 213 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", 219 215 s->path, errorstr); 220 216 return AUBIO_FAIL; … … 308 304 309 305 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", 313 307 s->path, errorstr); 314 308 return AUBIO_FAIL;
Note: See TracChangeset
for help on using the changeset viewer.