Changeset 8fa71eb


Ignore:
Timestamp:
Nov 28, 2016, 4:23:23 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
024584d
Parents:
d5745af
git-author:
Paul Brossier <piem@piem.org> (10/03/16 11:47:25)
git-committer:
Paul Brossier <piem@piem.org> (11/28/16 16:23:23)
Message:

src/io/source_avcodec.c: fix missing samples in eof block

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    rd5745af r8fa71eb  
    352352  }
    353353  if (total_wrote < s->hop_size) {
    354     for (i = end; i < s->hop_size; i++) {
     354    for (i = total_wrote; i < s->hop_size; i++) {
    355355      read_data->data[i] = 0.;
    356356    }
     
    387387  if (total_wrote < s->hop_size) {
    388388    for (j = 0; j < read_data->height; j++) {
    389       for (i = end; i < s->hop_size; i++) {
     389      for (i = total_wrote; i < s->hop_size; i++) {
    390390        read_data->data[j][i] = 0.;
    391391      }
Note: See TracChangeset for help on using the changeset viewer.