/**
* Initialize the inverse modified cosine transform.
+ *
+ * \param nbits The number of bits to use (4 <= \a nbits <= 18).
+ *
+ * \param result Opaque structure that must be passed to \ref imdct().
+ *
+ * \return Standard.
*/
int imdct_init(int nbits, struct mdct_context **result)
{
void imdct_end(struct mdct_context *ctx)
{
- freep(&ctx->tcos);
- freep(&ctx->tsin);
- freep(&ctx->fft.revtab);
+ free(ctx->tcos);
+ free(ctx->tsin);
+ free(ctx->fft.revtab);
free(ctx);
}