Ignore:
Timestamp:
Apr 26, 2012 2:44:41 AM (10 years ago)
Author:
ming
Message:

Re #1446 (misc): Fixed linking error if PJMEDIA_HAS_VIDEO is 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r4027 r4086  
    57425742    /* Create AVI player virtual devices */ 
    57435743    if (app_config.avi_cnt) { 
    5744 #if PJMEDIA_VIDEO_DEV_HAS_AVI 
     5744#if PJMEDIA_HAS_VIDEO && PJMEDIA_VIDEO_DEV_HAS_AVI 
    57455745        pjmedia_vid_dev_factory *avi_factory; 
    57465746 
     
    61016101        if (app_config.avi[i].slot != PJSUA_INVALID_ID) 
    61026102            pjsua_conf_remove_port(app_config.avi[i].slot); 
     6103#if PJMEDIA_HAS_VIDEO && PJMEDIA_VIDEO_DEV_HAS_AVI 
    61036104        if (app_config.avi[i].dev_id != PJMEDIA_VID_INVALID_DEV) 
    61046105            pjmedia_avi_dev_free(app_config.avi[i].dev_id); 
     6106#endif 
    61056107    } 
    61066108 
Note: See TracChangeset for help on using the changeset viewer.