commit | afc8d53b1b1d4a740551b3bbf8c2ac45061786ed | [log] [tgz] |
---|---|---|
author | Gregory Maxwell <greg@xiph.org> | Wed Sep 28 15:13:26 2011 -0400 |
committer | Gregory Maxwell <greg@xiph.org> | Wed Sep 28 16:28:18 2011 -0400 |
tree | d3833bf92aa980ab7295e979c4a55195dae1a616 | |
parent | c7ab61b3c6a6c2a141f5a0266cd40d119aa18c66 [diff] [blame] |
Cleans up some leaking opus_custom symbols in celt/
diff --git a/celt/modes.c b/celt/modes.c index 0c3e374..64b0226 100644 --- a/celt/modes.c +++ b/celt/modes.c
@@ -397,11 +397,11 @@ #endif /* !CUSTOM_MODES */ } +#ifdef CUSTOM_MODES void opus_custom_mode_destroy(CELTMode *mode) { if (mode == NULL) return; -#ifdef CUSTOM_MODES #ifndef CUSTOM_MODES_ONLY { int i; @@ -426,5 +426,5 @@ clt_mdct_clear(&mode->mdct); opus_free((CELTMode *)mode); -#endif } +#endif