X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ortp_recv.c;h=905d580e1ba4dcf00872e40cf1119878e09794bb;hp=98ca63ace8fe26c33a9f7d09aac351c18e03e471;hb=1b39496da38155b84636c0f7cee7f7dbbea33632;hpb=88b79f523bb3499e0e6c70b2b1835ba1d497ac91 diff --git a/ortp_recv.c b/ortp_recv.c index 98ca63ac..905d580e 100644 --- a/ortp_recv.c +++ b/ortp_recv.c @@ -83,7 +83,7 @@ static int ortp_recv_pre_select(struct receiver_node *rn, return -1; /* we did not modify the fd sets */ } -static void compute_next_chunk(struct timeval *now, unsigned chunk_time, +static void compute_next_chunk(unsigned chunk_time, struct private_ortp_recv_data *pord) { struct timeval chunk_tv = {0, chunk_time}; @@ -204,7 +204,7 @@ success: pord->c_bad = 0; pord->next_chunk = now; } - compute_next_chunk(&now, chunk_time, pord); + compute_next_chunk(chunk_time, pord); return 1; err_out: freemsg(mp);