summaryrefslogtreecommitdiff
path: root/sharedbook.c
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2002-09-10 06:16:12 +0000
committerMonty <xiphmont@xiph.org>2002-09-10 06:16:12 +0000
commit88ab84dfc62514c2807fcbf4b3673544efb1cf37 (patch)
treeae94fe15cc92795a61022e94ff52267a75676f0d /sharedbook.c
parent5d41f62d2b5cd258c024413ee24533536020eb48 (diff)
downloadtremor-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.c3
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 */