diff --git a/include/call.h b/include/call.h index a966744c0..267420bb7 100644 --- a/include/call.h +++ b/include/call.h @@ -273,7 +273,7 @@ struct packet_stream { struct stats kernel_stats; atomic64 last_packet; GHashTable *rtp_stats; /* LOCK: call->master_lock */ - volatile struct rtp_stats *rtp_stats_cache; + struct rtp_stats *rtp_stats_cache; #if RTP_LOOP_PROTECT /* LOCK: in_lock: */ @@ -323,7 +323,7 @@ struct call_media { GHashTable *codec_handlers; // int payload type -> struct codec_handler // XXX combine this with 'codecs_recv' hash table? GQueue codec_handlers_store; // storage for struct codec_handler - volatile struct codec_handler *codec_handler_cache; + struct codec_handler *codec_handler_cache; struct rtcp_handler *rtcp_handler; struct codec_handler *dtmf_injector; diff --git a/include/ssrc.h b/include/ssrc.h index 59553358e..b066ea27b 100644 --- a/include/ssrc.h +++ b/include/ssrc.h @@ -31,8 +31,8 @@ struct ssrc_hash { rwlock_t lock; ssrc_create_func_t create_func; void *uptr; - volatile struct ssrc_entry *cache; // last used entry - volatile struct ssrc_entry *precreat; // next used entry + struct ssrc_entry *cache; // last used entry + struct ssrc_entry *precreat; // next used entry }; struct payload_tracker { mutex_t lock;