ref: 4fad200a86c70427842c8b505e78b46bb3f25d38
parent: 05ed03e6e3b8938a94c36415cfc8ac30e34c4e60
author: Torben Hohn <[email protected]>
date: Thu Apr 23 17:51:54 EDT 2009
fix testcelt to use loss simulation
--- a/libcelt/testcelt.c
+++ b/libcelt/testcelt.c
@@ -151,7 +151,7 @@
#endif
#if 1 /* Set to zero to use the encoder's output instead */
/* This is to simulate packet loss */
- if (argc==10 && rand()%1000<atoi(argv[argc-3]))
+ if (argc==9 && rand()%1000<atoi(argv[argc-3]))
/*if (errors && (errors%2==0))*/
celt_decode(dec, NULL, len, out);
else