Changeset 6107 for pjproject


Ignore:
Timestamp:
Nov 13, 2019 10:08:59 AM (5 years ago)
Author:
nanang
Message:

Re #1437: Fixed linking error when PJMEDIA_HAS_VIDEO is not set.

File:
1 edited

Legend:

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

    r6106 r6107  
    354354                pjmedia_codec_info_to_id(ci, sci[cnt].id, sizeof(sci[0].id)); 
    355355            } else { 
     356#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 
    356357                const pjmedia_vid_codec_info *ci; 
    357358                status = pjmedia_vid_codec_mgr_get_codec_info(NULL, pt, &ci); 
     
    361362                pjmedia_vid_codec_info_to_id(ci, sci[cnt].id, 
    362363                                             sizeof(sci[0].id)); 
     364#else 
     365                continue; 
     366#endif 
    363367            } 
    364368        } else { 
Note: See TracChangeset for help on using the changeset viewer.