Ignore:
Timestamp:
May 18, 2016 10:11:53 AM (7 years ago)
Author:
riza
Message:

Re #1920: Avoid linking error when video is not enabled.

File:
1 edited

Legend:

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

    r4875 r5306  
    3030static pjmedia_converter_mgr *converter_manager_instance; 
    3131 
    32 #if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL 
     32#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) && \ 
     33    defined(PJMEDIA_HAS_LIBSWSCALE) && (PJMEDIA_HAS_LIBSWSCALE != 0) 
    3334PJ_DECL(pj_status_t) 
    3435pjmedia_libswscale_converter_init(pjmedia_converter_mgr *mgr); 
     
    6061#endif 
    6162 
    62 #if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL 
     63#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) && \ 
     64    defined(PJMEDIA_HAS_LIBSWSCALE) && (PJMEDIA_HAS_LIBSWSCALE != 0) 
    6365    status = pjmedia_libswscale_converter_init(mgr); 
    6466    if (status != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.