diff options
| author | Nils Wallménius <nils@rockbox.org> | 2010-12-08 16:07:46 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2010-12-08 16:07:46 +0000 |
| commit | c0e3e1628575647ec9083fd23c26de85ea8f86c0 (patch) | |
| tree | 8c19a660d381df5c1c8d0468b4fac3f6cb1ff995 /apps/codecs/libtremor/sharedbook.c | |
| parent | a5897697f9d38b3a7131a504c7251ac5fe2dcb15 (diff) | |
| download | rockbox-c0e3e1628575647ec9083fd23c26de85ea8f86c0.zip rockbox-c0e3e1628575647ec9083fd23c26de85ea8f86c0.tar.gz rockbox-c0e3e1628575647ec9083fd23c26de85ea8f86c0.tar.bz2 rockbox-c0e3e1628575647ec9083fd23c26de85ea8f86c0.tar.xz | |
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
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); } |