Ignore:
Timestamp:
Apr 6, 2011 7:01:55 AM (13 years ago)
Author:
bennylp
Message:

Re #1186: fixed crash when parsing fmtp with more than 8 parameters by enlarging the default limit, fix the crash, and make the limit configurable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/config.h

    r3451 r3498  
    569569 
    570570/** 
     571 * Maximum number of parameters in SDP fmtp attribute. 
     572 * 
     573 * Default: 16 
     574 */ 
     575#ifndef PJMEDIA_CODEC_MAX_FMTP_CNT 
     576#   define PJMEDIA_CODEC_MAX_FMTP_CNT           16 
     577#endif 
     578 
     579 
     580/** 
    571581 * This specifies the behavior of the SDP negotiator when responding to an 
    572582 * offer, whether it should rather use the codec preference as set by 
Note: See TracChangeset for help on using the changeset viewer.