- Timestamp:
- Dec 20, 2018, 7:26:08 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 4c72a9c
- Parents:
- 1ddb9d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/ioutils.c
r1ddb9d1 r4edba9d 97 97 { 98 98 if (source_read < read_data->length) { 99 AUBIO_MEMSET(read_data->data + source_read, 0, read_data->length -100 source_read);99 AUBIO_MEMSET(read_data->data + source_read, 0, 100 (read_data->length - source_read) * sizeof(smpl_t)); 101 101 } 102 102 } … … 109 109 for (i = 0; i < read_data->height; i++) { 110 110 AUBIO_MEMSET(read_data->data[i] + source_read, 0, 111 read_data->length - source_read);111 (read_data->length - source_read) * sizeof(smpl_t)); 112 112 } 113 113 }
Note: See TracChangeset
for help on using the changeset viewer.