Changeset 2891
- Timestamp:
- Aug 17, 2009 3:17:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r2885 r2891 270 270 } 271 271 272 static pj_bool_t libsrtp_initialized; 272 273 static void pjmedia_srtp_deinit_lib(void); 273 274 274 275 PJ_DEF(pj_status_t) pjmedia_srtp_init_lib(void) 275 276 { 276 static pj_bool_t initialized = PJ_FALSE; 277 278 if (initialized == PJ_FALSE) { 277 if (libsrtp_initialized == PJ_FALSE) { 279 278 err_status_t err; 280 279 … … 295 294 } 296 295 297 initialized = PJ_TRUE;296 libsrtp_initialized = PJ_TRUE; 298 297 } 299 298 … … 310 309 get_libsrtp_errstr(err))); 311 310 } 311 312 libsrtp_initialized = PJ_FALSE; 312 313 } 313 314
Note: See TracChangeset
for help on using the changeset viewer.