Commit ad578233 authored by aymeric's avatar aymeric
Browse files

fix compilation - move declaration

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@731 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 745a21bf
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -213,13 +213,13 @@ mblk_t *rtp_getq_permissive(queue_t *q,uint32_t timestamp, int *rejected)
void
rtp_session_init (RtpSession * session, int mode)
{
JBParameters jbp;
if (session == NULL)
{
ortp_debug("rtp_session_init: Invalid paramter (session=NULL)");
return;
}
JBParameters jbp;
memset (session, 0, sizeof (RtpSession));
session->mode = (RtpSessionMode) mode;
if ((mode == RTP_SESSION_RECVONLY) || (mode == RTP_SESSION_SENDRECV))
......
Supports Markdown
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