Skip to content
Snippets Groups Projects
Commit 4fad200a authored by Torben Hohn's avatar Torben Hohn Committed by Jean-Marc Valin
Browse files

fix testcelt to use loss simulation

parent 05ed03e6
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ int main(int argc, char *argv[])
#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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment