mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
update to cvs head srtp
This commit is contained in:
1 parent
aad4da5b71
commit
72e2d183c1
100 files changed
+4732
-1509
No files matched your search
@@ -9,7 +9,7 @@
|
||||
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 2001-2005, Cisco Systems, Inc.
|
||||
* Copyright (c) 2001-2006, Cisco Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -138,6 +138,12 @@ roc_test(int num_trials) {
|
||||
ref, local, est, ircvd, delta);
|
||||
#endif
|
||||
|
||||
if (local + delta != est) {
|
||||
printf(" *bad delta*: local %llu + delta %d != est %llu\n",
|
||||
(unsigned long long)local, delta, (unsigned long long)est);
|
||||
return err_status_algo_fail;
|
||||
}
|
||||
|
||||
/* now update local xtd_seq_num_t as necessary */
|
||||
if (delta > 0)
|
||||
index_advance(&local, delta);
|
||||
|
||||
Reference in new issue
Block a user