- Timestamp:
- Dec 20, 2018, 7:05:50 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:
- efaeaf1
- Parents:
- 6a253e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
r6a253e8 r2510248 515 515 } 516 516 } 517 if (total_wrote < length) { 518 for (i = total_wrote; i < length; i++) { 519 read_data->data[i] = 0.; 520 } 521 } 517 518 aubio_source_pad_output(read_data, total_wrote); 519 522 520 *read = total_wrote; 523 521 } … … 553 551 } 554 552 } 555 if (total_wrote < length) { 556 for (j = 0; j < channels; j++) { 557 for (i = total_wrote; i < length; i++) { 558 read_data->data[j][i] = 0.; 559 } 560 } 561 } 553 554 aubio_source_pad_multi_output(read_data, s->input_channels, total_wrote); 555 562 556 *read = total_wrote; 563 557 }
Note: See TracChangeset
for help on using the changeset viewer.