X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ortp_send.c;h=fbd4077e828e7e945fc8c0c4497e56f0dcacffa8;hp=1521b63d4031a853e9839aa617d3055241cb8cf0;hb=828d7e8cd8577775cb81b8c9abcd5d96a7483d9b;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/ortp_send.c b/ortp_send.c index 1521b63d..fbd4077e 100644 --- a/ortp_send.c +++ b/ortp_send.c @@ -18,13 +18,13 @@ /** \file ortp_send.c para_server's ortp sender */ +#include #include "server.cmdline.h" #include "server.h" #include "afs.h" #include "send.h" #include "list.h" -#include #include "ortp.h" #include "string.h" @@ -146,7 +146,7 @@ static void ortp_send(struct audio_format *af, long unsigned current_chunk, { struct ortp_target *ot, *tmp; size_t sendbuf_len; - size_t header_len = 0; + int header_len = 0; int packet_type = ORTP_DATA, stream_type = af && af->get_header_info; /* header stream? */ char *sendbuf, *header_buf = NULL; @@ -311,7 +311,6 @@ static char *ortp_help(void) void ortp_send_init(struct sender *s) { ortp_init(); - ortp_set_debug_file("oRTP", NULL); INIT_LIST_HEAD(&targets); s->info = ortp_info; s->help = ortp_help;