summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@xiph.org>2001-12-21 15:24:43 +0000
committerSegher Boessenkool <segher@xiph.org>2001-12-21 15:24:43 +0000
commit7c39e20df368f4f8fd5c1af361b9b56184b53379 (patch)
tree0abab1f599c51de7c752f7bb846a2c420f0fd9c3 /lib
parente0490043c85a2b93cbed66662eeea4194cf9f36c (diff)
downloadlibvorbis-git-7c39e20df368f4f8fd5c1af361b9b56184b53379.tar.gz
fix potential bug. luckily we weren't hit by it.
svn path=/trunk/vorbis/; revision=2883
Diffstat (limited to 'lib')
-rw-r--r--lib/psy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psy.c b/lib/psy.c
index cfd2c1d9..79892dbd 100644
--- a/lib/psy.c
+++ b/lib/psy.c
@@ -11,7 +11,7 @@
********************************************************************
function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.62 2001/12/21 14:52:35 segher Exp $
+ last mod: $Id: psy.c,v 1.63 2001/12/21 15:24:43 segher Exp $
********************************************************************/
@@ -969,7 +969,7 @@ void _vp_quantize_couple(vorbis_look_psy *p,
for(j=0,k=0;j<n;k++){
vp_couple *part=info->couple_pass[passno].couple_pass+k;
float rqlimit=part->outofphase_requant_limit;
- float flip_p=part->outofphase_redundant_flip_p;
+ int flip_p=part->outofphase_redundant_flip_p;
for(;j<part->limit && j<p->n;j++){
/* partition by partition; k is our by-location partition