]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ortp_send.c
update README
[paraslash.git] / ortp_send.c
index 1521b63d4031a853e9839aa617d3055241cb8cf0..fbd4077e828e7e945fc8c0c4497e56f0dcacffa8 100644 (file)
 
 /** \file ortp_send.c para_server's ortp sender */
 
+#include <ortp/ortp.h>
 
 #include "server.cmdline.h"
 #include "server.h"
 #include "afs.h"
 #include "send.h"
 #include "list.h"
-#include <ortp/ortp.h>
 #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;