diff options
author | Monty <xiphmont@xiph.org> | 2002-09-10 06:16:12 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2002-09-10 06:16:12 +0000 |
commit | 88ab84dfc62514c2807fcbf4b3673544efb1cf37 (patch) | |
tree | ae94fe15cc92795a61022e94ff52267a75676f0d /sharedbook.c | |
parent | 5d41f62d2b5cd258c024413ee24533536020eb48 (diff) | |
download | tremor-88ab84dfc62514c2807fcbf4b3673544efb1cf37.tar.gz |
Patch AGE and REVISION in configure.in
Patch Makefile.am to add link for vorbis -> . to build ivorbisfile_example
correct sort32a in sharedbook.c
git-svn-id: https://svn.xiph.org/trunk/Tremor@3897 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'sharedbook.c')
-rw-r--r-- | sharedbook.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sharedbook.c b/sharedbook.c index b78f668..a62211e 100644 --- a/sharedbook.c +++ b/sharedbook.c @@ -316,7 +316,8 @@ static ogg_uint32_t bitreverse(ogg_uint32_t x){ } static int sort32a(const void *a,const void *b){ - return ( (**(ogg_uint32_t **)a>**(ogg_uint32_t **)b)<<1)-1; + return (**(ogg_uint32_t **)a>**(ogg_uint32_t **)b)- + (**(ogg_uint32_t **)a<**(ogg_uint32_t **)b); } /* decode codebook arrangement is more heavily optimized than encode */ |