Ignore:
Timestamp:
Aug 25, 2015 8:45:46 AM (9 years ago)
Author:
nanang
Message:

Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/mix.c

    r3664 r5170  
    196196    while (processed < longest + clock_rate * APPEND * 2 / 1000) { 
    197197        pj_int16_t framebuf[PTIME * 48000 / 1000]; 
    198         pjmedia_port *cp = pjmedia_conf_get_master_port(conf); 
     198        pjmedia_port *mp = pjmedia_conf_get_master_port(conf); 
    199199        pjmedia_frame frame; 
    200200 
    201201        frame.buf = framebuf; 
    202         frame.size = PJMEDIA_PIA_SPF(&cp->info) * 2; 
     202        frame.size = PJMEDIA_PIA_SPF(&mp->info) * 2; 
    203203        pj_assert(frame.size <= sizeof(framebuf)); 
    204204         
    205         CHECK( pjmedia_port_get_frame(cp, &frame) ); 
     205        CHECK( pjmedia_port_get_frame(mp, &frame) ); 
    206206 
    207207        if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) { 
Note: See TracChangeset for help on using the changeset viewer.