comparison src/dmfft.c @ 1167:848a88ce7a57

Use dmMemset().
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Mar 2015 07:37:35 +0200
parents e06abfde6c39
children f077a709d491
comparison
equal deleted inserted replaced
1166:f29fa5b6b748 1167:848a88ce7a57
64 { 64 {
65 if (ctx != NULL) 65 if (ctx != NULL)
66 { 66 {
67 dmFree(ctx->breversed); 67 dmFree(ctx->breversed);
68 dmFree(ctx->sinTable); 68 dmFree(ctx->sinTable);
69 memset(ctx, 0, sizeof(DMFFTContext)); 69 dmMemset(ctx, 0, sizeof(DMFFTContext));
70 } 70 }
71 } 71 }
72 72
73 73
74 int dmRealFFT(DMFFTContext * ctx, DMFFTType * buffer) 74 int dmRealFFT(DMFFTContext * ctx, DMFFTType * buffer)