ref: 987921a067808122ab888421fd64fd87561e8c67
parent: f4f5dac8baa29773a88e6f18a589450a87dc57ea
author: Jean-Marc Valin <[email protected]>
date: Mon May 26 19:46:28 EDT 2008
fixed the skipping of the zeros (skip the zeros instead of the good samples!)
--- a/libcelt/testcelt.c
+++ b/libcelt/testcelt.c
@@ -154,7 +154,7 @@
}
#endif
count++;
- fwrite(out, sizeof(short), (frame_size-skip)*channels, fout);
+ fwrite(out+skip, sizeof(short), (frame_size-skip)*channels, fout);
skip = 0;
}
celt_encoder_destroy(enc);