Changeset 485


Ignore:
Timestamp:
Jun 1, 2006 11:39:48 AM (16 years ago)
Author:
bennylp
Message:

Speex codec will refuse codec quality/complexity 0 and replace them with default value if they are used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/speex_codec.c

    r457 r485  
    209209 
    210210    /* Get defaults */ 
    211     if (quality < 0) quality = DEFAULT_QUALITY; 
    212     if (complexity < 0) complexity = DEFAULT_COMPLEXITY; 
     211    if (quality <= 0) quality = DEFAULT_QUALITY; 
     212    if (complexity <= 0) complexity = DEFAULT_COMPLEXITY; 
    213213 
    214214    /* Create Speex codec factory. */ 
Note: See TracChangeset for help on using the changeset viewer.