Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed May 4, 2024
1 parent 3dea795 commit 5684eb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/dsp/stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ dsp_stream_p dsp_stream_new()
{
dsp_stream_p stream = (dsp_stream_p)malloc(sizeof(dsp_stream) * 1);
stream->is_copy = 0;
stream->buf = (dsp_t*)malloc(sizeof(dsp_t) * 0);
stream->dft.buf = (double*)malloc(sizeof(dsp_t) * 0);
stream->buf = 0;
stream->dft.buf = 0;
stream->magnitude = NULL;
stream->phase = NULL;
stream->sizes = (int*)malloc(sizeof(int) * 1);
Expand Down

0 comments on commit 5684eb7

Please sign in to comment.