pjproject_bundled: Update for pjproject 2.6

* Removed all 2.5.5 functional patches.
 * Updated usages of pj_release_pool to be "safe".
 * Updated configure options to disable webrtc.
 * Updated config_site.h to disable webrtc in pjmedia.
 * Added Richard Mudgett's recent resolver patches.

Change-Id: Ib400cc4dfca68b3d07ce14d314e829bfddc252c7
This commit is contained in:
George Joseph
2017-02-09 17:05:01 -07:00
parent 25688ab797
commit a537dae6d0
20 changed files with 57 additions and 935 deletions

View File

@@ -1053,7 +1053,16 @@ static void rtp_ioqueue_thread_destroy(struct ast_rtp_ioqueue_thread *ioqueue)
pj_thread_destroy(ioqueue->thread);
}
pj_pool_release(ioqueue->pool);
if (ioqueue->pool) {
/* This mimics the behavior of pj_pool_safe_release
* which was introduced in pjproject 2.6.
*/
pj_pool_t *temp_pool = ioqueue->pool;
ioqueue->pool = NULL;
pj_pool_release(temp_pool);
}
ast_free(ioqueue);
}