From c0e3e1628575647ec9083fd23c26de85ea8f86c0 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Wed, 8 Dec 2010 16:07:46 +0000 Subject: libtremor: merge upstream revision 17528-17530, more error checking and bug fixes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28768 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libtremor/sharedbook.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'apps/codecs/libtremor/sharedbook.c') diff --git a/apps/codecs/libtremor/sharedbook.c b/apps/codecs/libtremor/sharedbook.c index 884920ecda..e9cdd13329 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); } -- cgit v1.2.3