Commit 3f2916d2 authored by Mickaël Turnel's avatar Mickaël Turnel

Fix warning and wrong mutex initialisation

parent 593f86ff
......@@ -314,7 +314,7 @@ rtp_session_init (RtpSession * session, int mode)
#if defined(_WIN32) || defined(_WIN32_WCE)
session->rtp.is_win_thread_running = FALSE;
qinit(&session->rtp.winrq);
ortp_mutex_init(&session->rtp.winrq_lock);
ortp_mutex_init(&session->rtp.winrq_lock, NULL);
#endif
}
......
......@@ -1706,9 +1706,9 @@ void* rtp_session_recvfrom_async(void* obj) {
#if defined(_WIN32) || defined(_WIN32_WCE)
}
}
ortp_thread_exit(NULL);
#endif
return NULL;
}
int rtp_session_rtp_recv (RtpSession * session, uint32_t user_ts) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment