Changeset 6:096a04a36ff0 in mediastreamer2


Ignore:
Timestamp:
Sep 6, 2008 2:29:31 AM (5 years ago)
Author:
aymeric <aymeric@…>
Branch:
default
Message:

Add missing b64 on windows platform

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@9 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linphone/mediastreamer2/src/msrtp.c

    r0 r6  
    2222 
    2323#include "ortp/telephonyevents.h" 
     24#if defined(__cplusplus) 
     25#define B64_NO_NAMESPACE 
     26#endif 
    2427#include "ortp/b64.h" 
     28 
    2529 
    2630struct SenderData { 
     
    127131        SenderData *d = (SenderData *) f->data; 
    128132        const char *tmp=(const char *)arg; 
    129         d->relay_session_id_size=b64_decode(tmp, strlen(tmp), d->relay_session_id, sizeof(d->relay_session_id)); 
     133        d->relay_session_id_size=b64_decode(tmp, strlen(tmp), (void*)d->relay_session_id, (unsigned int)sizeof(d->relay_session_id)); 
    130134        return 0; 
    131135} 
     
    186190                ( (f->ticker->time-d->last_rsi_time)>5000 || d->last_rsi_time==0) ) { 
    187191                ms_message("relay session id sent in RTCP APP"); 
    188                 rtp_session_send_rtcp_APP(s,0,"RSID",d->relay_session_id,d->relay_session_id_size); 
     192                rtp_session_send_rtcp_APP(s,0,"RSID",(const uint8_t *)d->relay_session_id,d->relay_session_id_size); 
    189193                d->last_rsi_time=f->ticker->time; 
    190194        } 
Note: See TracChangeset for help on using the changeset viewer.