Commit b95701b7 authored by Stian Selnes's avatar Stian Selnes Committed by Sebastian Dröge

rtpsession: Add missing lock around sess->ssrcs iteration
parent 3e932156
......@@ -3973,11 +3973,15 @@ rtp_session_are_all_sources_bye (RTPSession * sess)
GHashTableIter iter;
RTPSource *src;
g_hash_table_iter_init (&iter, sess->ssrcs[sess->mask_idx]);
while (g_hash_table_iter_next (&iter, NULL, (gpointer *) & src)) {
if (src->internal && !src->sent_bye)
if (src->internal && !src->sent_bye) {
return FALSE;
return TRUE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment