Changeset 5681 for pjproject


Ignore:
Timestamp:
Nov 6, 2017 10:30:07 AM (21 months ago)
Author:
ming
Message:

Re #2045 (misc): Fixed build error in streamutil sample app if PJMEDIA_HAS_SRTP is disabled.

File:
1 edited

Legend:

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

    r5621 r5681  
    567567 
    568568    /* Verify arguments. */ 
    569     if (dir & PJMEDIA_DIR_ENCODING || is_dtls_client || is_dtls_server) { 
     569    if (dir & PJMEDIA_DIR_ENCODING 
     570#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) 
     571        || is_dtls_client || is_dtls_server 
     572#endif 
     573       ) { 
    570574        if (remote_addr.sin_addr.s_addr == 0) { 
    571575            printf("Error: remote address must be set\n"); 
Note: See TracChangeset for help on using the changeset viewer.