diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index c52baeb58..aca279061 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -606,6 +606,7 @@ static void call_ng_flags_str_ht(struct sdp_ng_flags *out, str *s, void *htp) { *ht = g_hash_table_new_full(str_hash, str_equal, str_slice_free, NULL); g_hash_table_replace(*ht, s_copy, s_copy); } +#ifdef WITH_TRANSCODING static void call_ng_flags_str_ht_split(struct sdp_ng_flags *out, str *s, void *htp) { GHashTable **ht = htp; if (!*ht) @@ -619,6 +620,7 @@ static void call_ng_flags_str_ht_split(struct sdp_ng_flags *out, str *s, void *h splitter.len = c - splitter.s; } } +#endif // helper to alias values from other dictionaries into the "flags" dictionary INLINE int call_ng_flags_prefix(struct sdp_ng_flags *out, str *s_ori, const char *prefix, void (*cb)(struct sdp_ng_flags *, str *, void *), void *ptr) diff --git a/lib/codeclib.h b/lib/codeclib.h index 4eb068f9b..5d2f93e41 100644 --- a/lib/codeclib.h +++ b/lib/codeclib.h @@ -3,7 +3,9 @@ struct codec_def_s; +struct packet_sequencer_s; typedef struct codec_def_s codec_def_t; +typedef struct packet_sequencer_s packet_sequencer_t; #ifndef WITHOUT_CODECLIB @@ -27,7 +29,6 @@ struct encoder_s; struct format_s; struct resample_s; struct seq_packet_s; -struct packet_sequencer_s; struct rtp_payload_type; union codec_options_u; @@ -37,7 +38,6 @@ typedef struct encoder_s encoder_t; typedef struct format_s format_t; typedef struct resample_s resample_t; typedef struct seq_packet_s seq_packet_t; -typedef struct packet_sequencer_s packet_sequencer_t; typedef union codec_options_u codec_options_t; typedef int packetizer_f(AVPacket *, GString *, str *, encoder_t *); @@ -254,6 +254,8 @@ enum media_type { }; struct codec_def_s { }; +struct packet_sequencer_s { +}; INLINE void codeclib_init(int print) { if (print) @@ -266,6 +268,9 @@ INLINE enum media_type codec_get_type(const str *type) { INLINE const codec_def_t *codec_find(const str *name, enum media_type type) { return NULL; } +INLINE void packet_sequencer_destroy(packet_sequencer_t *p) { + return; +} #endif