X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=ortp_recv.c;h=87e2d25bd7dcc57f8cdf20dd7509fb896489c9c1;hb=ccf75f4378e82b8a1dab0e34fa0f0eaba7fb6f67;hp=1e440420a2e78b49a81b7d387dc8eaf3a1fd2d36;hpb=f4fb0289834e76a23839719ab0e89fe29b591d3f;p=paraslash.git diff --git a/ortp_recv.c b/ortp_recv.c index 1e440420..87e2d25b 100644 --- a/ortp_recv.c +++ b/ortp_recv.c @@ -67,7 +67,7 @@ uint32_t chunk_ts; }; static int ortp_recv_pre_select(struct receiver_node *rn, - __unused fd_set *rfds, __unused fd_set *wfds, + __a_unused fd_set *rfds, __a_unused fd_set *wfds, struct timeval *timeout) { struct private_ortp_recv_data *pord = rn->private_data; @@ -96,14 +96,9 @@ static void compute_next_chunk(struct timeval *now, unsigned chunk_time, pord->timestamp, pord->next_chunk.tv_sec, pord->next_chunk.tv_usec); } -/** \cond */ -#define BUF_TO_VAL(buf) (((unsigned)(buf)[1] & 0xff) + 256 \ - * ((unsigned)(buf)[0] & 0xff)) -/** \endcond */ - static int ortp_recv_post_select(struct receiver_node *rn, int select_ret, - __unused fd_set *rfds, __unused fd_set *wfds) + __a_unused fd_set *rfds, __a_unused fd_set *wfds) { struct private_ortp_recv_data *pord = rn->private_data; mblk_t *mp;