Browse Source

TT#14008 fix compiler warnings

Change-Id: I56001a5db58c6755584e49496b41e11c6a5f8aeb
changes/30/38530/1
Richard Fuchs 6 years ago
parent
commit
0308ee43ec
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      include/call.h
  2. +2
    -2
      include/ssrc.h

+ 2
- 2
include/call.h View File

@ -273,7 +273,7 @@ struct packet_stream {
struct stats kernel_stats; struct stats kernel_stats;
atomic64 last_packet; atomic64 last_packet;
GHashTable *rtp_stats; /* LOCK: call->master_lock */ GHashTable *rtp_stats; /* LOCK: call->master_lock */
volatile struct rtp_stats *rtp_stats_cache;
struct rtp_stats *rtp_stats_cache;
#if RTP_LOOP_PROTECT #if RTP_LOOP_PROTECT
/* LOCK: in_lock: */ /* LOCK: in_lock: */
@ -323,7 +323,7 @@ struct call_media {
GHashTable *codec_handlers; // int payload type -> struct codec_handler GHashTable *codec_handlers; // int payload type -> struct codec_handler
// XXX combine this with 'codecs_recv' hash table? // XXX combine this with 'codecs_recv' hash table?
GQueue codec_handlers_store; // storage for struct codec_handler 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 rtcp_handler *rtcp_handler;
struct codec_handler *dtmf_injector; struct codec_handler *dtmf_injector;


+ 2
- 2
include/ssrc.h View File

@ -31,8 +31,8 @@ struct ssrc_hash {
rwlock_t lock; rwlock_t lock;
ssrc_create_func_t create_func; ssrc_create_func_t create_func;
void *uptr; 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 { struct payload_tracker {
mutex_t lock; mutex_t lock;


Loading…
Cancel
Save