]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ortp_recv.c
update to libortp-0.9.1
[paraslash.git] / ortp_recv.c
index 71c8b1068ff3102c6d97b6c6159c1d01861ee94b..1443ab46e7c278ecf27dde13eba6788d86d0cde2 100644 (file)
@@ -17,8 +17,8 @@
  */
 /** \file ortp_recv.c paraslash's ortp receiver */
 
-#include "para.h"
 #include <ortp/ortp.h>
+#include "para.h"
 
 #include "ortp.h"
 #include "recv.h"
@@ -30,7 +30,7 @@
 
 #define CHUNK_SIZE 128 * 1024
 
-extern gint msg_to_buf(mblk_t *, char *, gint);
+extern int msg_to_buf(mblk_t *, char *, int);
 
 /**
  * data specific to the ortp receiver
@@ -61,9 +61,9 @@ struct timeval next_chunk;
 /** number of consecutive bad chunks */
 int c_bad;
 /** the current timestamp which is passed to the receiving function of libortp */
-guint32 timestamp;
+uint32_t timestamp;
 /** \a timestamp increases by this amount */
-guint32 chunk_ts;
+uint32_t chunk_ts;
 };
 
 #if 1
@@ -301,5 +301,4 @@ void ortp_recv_init(struct receiver *r)
        r->parse_config = ortp_recv_parse_config;
 
        ortp_init();
-       ortp_set_debug_file("oRTP", NULL);
 }