diff options
Diffstat (limited to 'apps/codecs/libtremor/sharedbook.c')
| -rw-r--r-- | apps/codecs/libtremor/sharedbook.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/codecs/libtremor/sharedbook.c b/apps/codecs/libtremor/sharedbook.c index 884920e..e9cdd13 100644 --- a/apps/codecs/libtremor/sharedbook.c +++ b/apps/codecs/libtremor/sharedbook.c @@ -295,15 +295,10 @@ static ogg_int32_t *_book_unquantize(const static_codebook *b,int n, return(NULL); } -void vorbis_staticbook_clear(static_codebook *b){ +void vorbis_staticbook_destroy(static_codebook *b){ if(b->quantlist)_ogg_free(b->quantlist); if(b->lengthlist)_ogg_free(b->lengthlist); memset(b,0,sizeof(*b)); - -} - -void vorbis_staticbook_destroy(static_codebook *b){ - vorbis_staticbook_clear(b); _ogg_free(b); } |