[farsight2/master] Close bracket in right place
Olivier Crête
olivier.crete at collabora.co.uk
Fri Dec 12 08:49:51 PST 2008
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 52 ++++++++++++------------
1 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index a541d29..25aa711 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -687,38 +687,38 @@ create_local_codec_associations (
}
codec_associations = list_insert_local_ca (codec_associations, ca);
+ }
- /* Now, only codecs with specified ids are here,
- * the rest are dynamic
- * Lets attribute them here */
- for (lca_e = codec_associations;
- lca_e;
- lca_e = g_list_next (lca_e))
- {
- CodecAssociation *lca = lca_e->data;
- CodecAssociation *tmpca = NULL;
+ /* Now, only codecs with specified ids are here,
+ * the rest are dynamic
+ * Lets attribute them here */
+ for (lca_e = codec_associations;
+ lca_e;
+ lca_e = g_list_next (lca_e))
+ {
+ CodecAssociation *lca = lca_e->data;
+ CodecAssociation *tmpca = NULL;
- if (lca->reserved)
- continue;
+ if (lca->reserved)
+ continue;
- tmpca = lookup_codec_association_by_pt_list (current_codec_associations,
- lca->codec->id, TRUE);
+ tmpca = lookup_codec_association_by_pt_list (current_codec_associations,
+ lca->codec->id, TRUE);
- /* Same blueprint, we've copied the ID voluntarily, continue */
- if (tmpca && tmpca->blueprint == lca->blueprint)
- continue;
+ /* Same blueprint, we've copied the ID voluntarily, continue */
+ if (tmpca && tmpca->blueprint == lca->blueprint)
+ continue;
- /* If we have a different blueprint or a ANY id, we have to get a new id
- */
- if (tmpca || lca->codec->id < 0)
+ /* If we have a different blueprint or a ANY id, we have to get a new id
+ */
+ if (tmpca || lca->codec->id < 0)
+ {
+ lca->codec->id = _find_first_empty_dynamic_entry (
+ current_codec_associations, codec_associations);
+ if (lca->codec->id < 0)
{
- lca->codec->id = _find_first_empty_dynamic_entry (
- current_codec_associations, codec_associations);
- if (lca->codec->id < 0)
- {
- GST_ERROR ("We've run out of dynamic payload types");
- goto error;
- }
+ GST_ERROR ("We've run out of dynamic payload types");
+ goto error;
}
}
}
--
1.5.6.5
More information about the farsight-commits
mailing list