- commit
- a873c755a4b8e9d977129d76dbd591360455fce4
- parent
- d011ee23ff13fb26bd3cb86476cc058f356449ce
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-12-24 14:59
fix: do not write beyond frames
Diffstat
| M | beat.c | 1 | + |
1 files changed, 1 insertions, 0 deletions
diff --git a/beat.c b/beat.c
@@ -138,6 +138,7 @@ int main(int argc, char **argv) {
138 138 struct ring *tmp = first;
139 139 _sf_writef_float(outfile, tmp->buf);
140 140 first = tmp->next;
-1 141 buf_cur += 1;
141 142 free(tmp);
142 143 }
143 144