chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Shun time(), since on Linux it is not monotonic with gettimeofday().
[disorder]
/
clients
/
playrtp.c
diff --git
a/clients/playrtp.c
b/clients/playrtp.c
index c07c153e1938b71b5d0b409b4cac40844d8ed421..7eed9eb3529f75f58b4ca76f34ee0c1012bee766 100644
(file)
--- a/
clients/playrtp.c
+++ b/
clients/playrtp.c
@@
-858,7
+858,7
@@
int main(int argc, char **argv) {
|| (nsamples > 0
&& contains(pheap_first(&packets), next_timestamp))) {
if(monitor) {
- time_t now = time(0);
+ time_t now =
x
time(0);
if(now >= lastlog + 60) {
int offset = nsamples - minbuffer;