diff --git a/include/call.h b/include/call.h index a54573533..46a08ea6f 100644 --- a/include/call.h +++ b/include/call.h @@ -330,7 +330,6 @@ struct media_subscription; -TYPED_GHASHTABLE(codecs_ht, void, rtp_payload_type, g_direct_hash, g_direct_equal, NULL, NULL) TYPED_GHASHTABLE(codec_names_ht, str, GQueue, str_case_hash, str_case_equal, str_free, g_queue_free) TYPED_GHASHTABLE_LOOKUP_INSERT(codec_names_ht, str_free, g_queue_new) TYPED_DIRECT_FUNCS(media_direct_hash, media_direct_eq, struct call_media) diff --git a/include/types.h b/include/types.h index f52778cc3..65f46c486 100644 --- a/include/types.h +++ b/include/types.h @@ -109,4 +109,6 @@ TYPED_GQUEUE(ng_medias, struct ng_media) TYPED_GQUEUE(medias, struct call_media) G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(medias_q, medias_q_clear) +TYPED_GHASHTABLE(codecs_ht, void, rtp_payload_type, g_direct_hash, g_direct_equal, NULL, NULL) + #endif