Changeset 1870 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Mar 17, 2008 2:07:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r1866 r1870 140 140 #endif /* PJMEDIA_HAS_G711_CODEC */ 141 141 142 #if PJMEDIA_HAS_G722_CODEC 143 status = pjmedia_codec_g722_init( pjsua_var.med_endpt ); 144 if (status != PJ_SUCCESS) { 145 pjsua_perror(THIS_FILE, "Error initializing G722 codec", 146 status); 147 return status; 148 } 149 #endif /* PJMEDIA_HAS_G722_CODEC */ 150 142 151 #if PJMEDIA_HAS_L16_CODEC 143 152 /* Register L16 family codecs, but disable all */ … … 501 510 # endif /* PJMEDIA_HAS_G711_CODEC */ 502 511 512 # if PJMEDIA_HAS_G722_CODEC 513 pjmedia_codec_g722_deinit(); 514 # endif /* PJMEDIA_HAS_G722_CODEC */ 515 503 516 # if PJMEDIA_HAS_L16_CODEC 504 517 pjmedia_codec_l16_deinit(); 505 518 # endif /* PJMEDIA_HAS_L16_CODEC */ 506 507 519 508 520 pjmedia_endpt_destroy(pjsua_var.med_endpt);
Note: See TracChangeset
for help on using the changeset viewer.