Ignore:
Timestamp:
Dec 30, 2006 2:46:57 AM (18 years ago)
Author:
bennylp
Message:

Implement ticket #40: support for asymmetric encoding/decoding ptime (e.g. with iLBC when local and remote have different mode)

File:
1 edited

Legend:

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

    r867 r874  
    5555                                    pj_pool_t *pool ); 
    5656static pj_status_t  gsm_codec_open( pjmedia_codec *codec,  
    57                                     const pjmedia_codec_param *attr ); 
     57                                    pjmedia_codec_param *attr ); 
    5858static pj_status_t  gsm_codec_close( pjmedia_codec *codec ); 
    5959static pj_status_t  gsm_codec_modify(pjmedia_codec *codec,  
     
    389389 */ 
    390390static pj_status_t gsm_codec_open( pjmedia_codec *codec,  
    391                                    const pjmedia_codec_param *attr ) 
     391                                   pjmedia_codec_param *attr ) 
    392392{ 
    393393    struct gsm_data *gsm_data = codec->codec_data; 
     
    441441 
    442442    pj_assert(gsm_data != NULL); 
    443     pj_assert(gsm_data->encoder == NULL && gsm_data->decoder == NULL); 
     443    pj_assert(gsm_data->encoder != NULL && gsm_data->decoder != NULL); 
    444444 
    445445    gsm_data->vad_enabled = (attr->setting.vad != 0); 
Note: See TracChangeset for help on using the changeset viewer.