Skip to content

Commit

Permalink
issue #1599
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Lazzarini committed Mar 14, 2022
1 parent 61986c0 commit 975eb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Opcodes/pitch.c
Expand Up @@ -874,7 +874,7 @@ int32_t pitchamdfset(CSOUND *csound, PITCHAMDF *p)
}

size = maxperi + interval;
bufsize = sizeof(MYFLT)*(size + maxperi + 2);
bufsize = sizeof(MYFLT)*(size + interval + 2);

p->srate = srate;
p->downsamp = downsamp;
Expand Down

0 comments on commit 975eb15

Please sign in to comment.