oops, unb0rked testcelt output
[opus.git] / libcelt / testcelt.c
index 6ef82df..50d7243 100644 (file)
@@ -130,7 +130,10 @@ int main(int argc, char *argv[])
          out[i] = in[i];
 #endif
       for (i=0;i<frame_size*channels;i++)
+      {
          rmsd += (in[i]-out[i])*1.0*(in[i]-out[i]);
+         /*out[i] -= in[i];*/
+      }
       count++;
       fwrite(out, sizeof(short), (frame_size-skip)*channels, fout);
       skip = 0;