diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-02-17 17:01:09 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-02-17 17:01:09 +0000 |
commit | bd60270418add07332505c1d7fd20cc0e031b8de (patch) | |
tree | 2b529d7118e91960cb51350761101ddf3f1fa487 /apps/codecs/libtremor/codebook.c | |
parent | 5593de5e7990897bdd350231c76013e17fc4b617 (diff) |
Commit FS#9915 by Sei Aoyumi. Adds hints to help GCC better optimize vorbis decoding. Gives a minor speed increase.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20030 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libtremor/codebook.c')
-rw-r--r-- | apps/codecs/libtremor/codebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libtremor/codebook.c b/apps/codecs/libtremor/codebook.c index f291686870..dd0908ba6a 100644 --- a/apps/codecs/libtremor/codebook.c +++ b/apps/codecs/libtremor/codebook.c @@ -451,7 +451,7 @@ static long vorbis_book_decodevv_add_2ch_even(codebook *book,ogg_int32_t **a, long vorbis_book_decodevv_add(codebook *book,ogg_int32_t **a, long offset,int ch, oggpack_buffer *b,int n,int point){ - if(book->used_entries>0){ + if(LIKELY(book->used_entries>0)){ long i,j,k,chunk,read; int chptr=0; int shift=point-book->binarypoint; |