Changeset d2be104 for src/io/source_sndfile.c
- Timestamp:
- Apr 22, 2016, 8:08:27 PM (9 years ago)
- 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:
- 6f42c16
- Parents:
- 2d0e3fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_sndfile.c
r2d0e3fc rd2be104 89 89 90 90 if (s->path) AUBIO_FREE(s->path); 91 s->path = AUBIO_ARRAY(char_t, strnlen(path, PATH_MAX) );92 strncpy(s->path, path, strnlen(path, PATH_MAX) );91 s->path = AUBIO_ARRAY(char_t, strnlen(path, PATH_MAX) + 1); 92 strncpy(s->path, path, strnlen(path, PATH_MAX) + 1); 93 93 94 94 // try opening the file, getting the info in sfinfo
Note: See TracChangeset
for help on using the changeset viewer.