1
0
Fork 0
forked from len0rd/rockbox

Tweaked IRAM usage in the Vorbis codec. Speeds up decoding by about 10% on a couple of test files.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7249 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2005-07-28 12:04:41 +00:00
parent b65b52b1b9
commit 7e33f16aee
5 changed files with 13 additions and 9 deletions

View file

@ -210,6 +210,7 @@ static inline long decode_packed_entry_number(codebook *book,
addmul==2 -> multiplicitive */
/* returns the [original, not compacted] entry number or -1 on eof *********/
long vorbis_book_decode(codebook *book, oggpack_buffer *b) ICODE_ATTR;
long vorbis_book_decode(codebook *book, oggpack_buffer *b){
long packed_entry=decode_packed_entry_number(book,b);
if(packed_entry>=0)