Changeset 1780 for pjproject/trunk


Ignore:
Timestamp:
Feb 7, 2008 11:53:47 AM (17 years ago)
Author:
bennylp
Message:

Removed const on on_rx_rtp() and on_rx_rtcp() functions arguments in stream.c and srtp.c (const was removed in r1763)

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/stream.c

    r1761 r1780  
    920920 */ 
    921921static void on_rx_rtp( void *data,  
    922                        const void *pkt, 
     922                       void *pkt, 
    923923                       pj_ssize_t bytes_read) 
    924924 
     
    10741074 */ 
    10751075static void on_rx_rtcp( void *data, 
    1076                         const void *pkt,  
     1076                        void *pkt,  
    10771077                        pj_ssize_t bytes_read) 
    10781078{ 
  • pjproject/trunk/pjsip-apps/src/samples/siprtp.c

    r1768 r1780  
    232232 
    233233/* This callback is called by media transport on receipt of RTP packet. */ 
    234 static void on_rx_rtp(void *user_data, const void *pkt, pj_ssize_t size); 
     234static void on_rx_rtp(void *user_data, void *pkt, pj_ssize_t size); 
    235235 
    236236/* This callback is called by media transport on receipt of RTCP packet. */ 
    237 static void on_rx_rtcp(void *user_data, const void *pkt, pj_ssize_t size); 
     237static void on_rx_rtcp(void *user_data, void *pkt, pj_ssize_t size); 
    238238 
    239239/* Display error */ 
     
    11791179 * This callback is called by media transport on receipt of RTP packet. 
    11801180 */ 
    1181 static void on_rx_rtp(void *user_data, const void *pkt, pj_ssize_t size) 
     1181static void on_rx_rtp(void *user_data, void *pkt, pj_ssize_t size) 
    11821182{ 
    11831183    struct media_stream *strm; 
     
    12221222 * This callback is called by media transport on receipt of RTCP packet. 
    12231223 */ 
    1224 static void on_rx_rtcp(void *user_data, const void *pkt, pj_ssize_t size) 
     1224static void on_rx_rtcp(void *user_data, void *pkt, pj_ssize_t size) 
    12251225{ 
    12261226    struct media_stream *strm; 
Note: See TracChangeset for help on using the changeset viewer.