X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/7edc7e4274f627ad91f0b6630ebd42e4633e2040..61b761862db3feb9bd0135a64ac3729f70917f89:/clients/playrtp.c?ds=sidebyside diff --git a/clients/playrtp.c b/clients/playrtp.c index 4e27ebf..c07c153 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2007, 2008 Richard Kettlewell + * Copyright (C) 2007-2009 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -324,6 +324,9 @@ static void *queue_thread(void attribute((unused)) *arg) { pthread_cond_broadcast(&cond); pthread_mutex_unlock(&lock); } +#if HAVE_STUPID_GCC44 + return NULL; +#endif } /** @brief Background thread collecting samples @@ -759,9 +762,6 @@ int main(int argc, char **argv) { struct sockaddr_in *in = (struct sockaddr_in *)res->ai_addr; memset(&in->sin_addr, 0, sizeof (struct in_addr)); - if(bind(rtpfd, res->ai_addr, res->ai_addrlen) < 0) - fatal(errno, "error binding socket to 0.0.0.0 port %d", - ntohs(in->sin_port)); break; } case AF_INET6: {