projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58b569
)
Missed an errant useless float var in encode-side codebook lookup
author
Monty
<xiphmont@xiph.org>
Tue, 9 Mar 2010 18:45:14 +0000
(18:45 +0000)
committer
Monty
<xiphmont@xiph.org>
Tue, 9 Mar 2010 18:45:14 +0000
(18:45 +0000)
svn path=/trunk/vorbis/; revision=16958
lib/res0.c
patch
|
blob
|
history
diff --git
a/lib/res0.c
b/lib/res0.c
index
10a71a6
..
8639e76
100644
(file)
--- a/
lib/res0.c
+++ b/
lib/res0.c
@@
-358,7
+358,7
@@
static int local_book_besterror(codebook *book,int *a){
if(c->lengthlist[i]>0){
int this=0;
for(j=0;j<dim;j++){
-
floa
t val=(e[j]-a[j]);
+
in
t val=(e[j]-a[j]);
this+=val*val;
}
if(best==-1 || this<best){