Changeset 4123


Ignore:
Timestamp:
May 14, 2012 11:17:31 AM (8 years ago)
Author:
ming
Message:

Re #1508 (misc): Fixed incorrect typecast of pjmedia_vid_stream

File:
1 edited

Legend:

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

    r4120 r4123  
    408408 
    409409    /* Keep-alive packet is empty RTP */ 
    410     pjmedia_vid_channel *channel = (pjmedia_vid_channel *)stream; 
     410    pjmedia_vid_channel *channel = stream->enc; 
    411411    pj_status_t status; 
    412412    void *pkt; 
     
    435435 
    436436    /* Keep-alive packet is defined in PJMEDIA_STREAM_KA_USER_PKT */ 
    437     pjmedia_vid_channel *channel = (pjmedia_vid_channel *)stream; 
     437    pjmedia_vid_channel *channel = stream->enc; 
    438438    int pkt_len; 
    439439    const pj_str_t str_ka = PJMEDIA_STREAM_KA_USER_PKT; 
Note: See TracChangeset for help on using the changeset viewer.