Ignore:
Timestamp:
Dec 1, 2011 10:02:54 AM (12 years ago)
Author:
nanang
Message:

Misc (re #1393): fix linking error "app_config_init_video() not found" when video is disabled, also some compile warnings (unused variables).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r3891 r3892  
    13981398                                  pjsua_med_tp_state_cb cb) 
    13991399{ 
    1400     pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; 
    14011400    pj_status_t status = PJ_SUCCESS; 
    14021401 
     
    14101409    if (call_med->tp == NULL) { 
    14111410#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 
     1411        pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; 
     1412 
    14121413        /* While in initial call, set default video devices */ 
    14131414        if (type == PJMEDIA_TYPE_VIDEO) { 
     
    25532554#else 
    25542555    PJ_UNUSED_ARG(STR_VIDEO); 
    2555     mvidcnt = 0; 
     2556    mvidcnt = mtotvidcnt = 0; 
    25562557#endif 
    25572558 
Note: See TracChangeset for help on using the changeset viewer.