Merge branch 'master' into aac
authorAndre <maan@p133.(none)>
Mon, 8 May 2006 22:29:33 +0000 (00:29 +0200)
committerAndre <maan@p133.(none)>
Mon, 8 May 2006 22:29:33 +0000 (00:29 +0200)
ortp_send.c
server.c

index 07e3ccc..9363d74 100644 (file)
@@ -75,9 +75,7 @@ static void ortp_send_buf(char *buf, int len, long unsigned chunks_sent)
        int ret;
 
        list_for_each_entry_safe(ot, tmp, &targets, node) {
-               struct timeval now;
                int ts;
-               gettimeofday(&now, NULL);
                if (!ot->session)
                        continue;
                WRITE_CHUNK_TS(buf, ot->chunk_ts);
index 6f70d97..caa32d8 100644 (file)
--- a/server.c
+++ b/server.c
@@ -477,10 +477,8 @@ repeat:
                        &afl[mmd->audio_format] : NULL,
                        &rfds, &wfds);
        }
-       if (!ret) {
-               afs_send_chunk();
-               status_refresh();
-       }
+       afs_send_chunk();
+       status_refresh();
        if (FD_ISSET(signal_pipe, &rfds)) {
                int sig;
                sig = para_next_signal();