cache read_codec implementation to reduce risk of race conditions

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11143 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-01-12 18:37:44 +00:00
parent bb35643915
commit 5edf696110
3 changed files with 32 additions and 26 deletions
+2
View File
@@ -553,6 +553,8 @@ struct private_object {
uint32_t last_codec_ms;
nua_event_t want_event;
switch_rtp_bug_flag_t rtp_bugs;
switch_codec_implementation_t read_impl;
switch_codec_implementation_t write_impl;
};
struct callback_t {