Commit 8269e97d authored by Monty's avatar Monty
Browse files

Missed an errant useless float var in encode-side codebook lookup

svn path=/trunk/vorbis/; revision=16958
parent f58b569f
......@@ -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++){
float val=(e[j]-a[j]);
int val=(e[j]-a[j]);
this+=val*val;
}
if(best==-1 || this<best){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment