Browse Source

Correct indexing error in peakfile reader.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
2ccae56fb1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Timeline/Peaks.C

+ 1
- 1
Timeline/Peaks.C View File

@@ -135,7 +135,7 @@ Peaks::read_peakfile_peaks ( Peak *peaks, nframes_t s, int npeaks, int chunksize

const Peak *pb = pbuf + j;

for ( int k = len * channels; k--; pb += channels )
for ( int k = len; k--; pb += channels )
{
if ( pb->max > p->max )
p->max = pb->max;


Loading…
Cancel
Save