summaryrefslogtreecommitdiff
path: root/gst/rtpmanager/rtpsession.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-05-22 13:44:03 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-06-02 11:38:15 +0200
commit8ada98964da158b17f128e196d6262c24fb0aac0 (patch)
tree2edab3da190fc7e8b2b8e147f38a4d9930349d56 /gst/rtpmanager/rtpsession.c
parent7bd1cfa1976565df1690a5a95bb79d1ce1d70e73 (diff)
rtpsession: Remove useless goto
https://bugzilla.gnome.org/show_bug.cgi?id=746543
Diffstat (limited to 'gst/rtpmanager/rtpsession.c')
-rw-r--r--gst/rtpmanager/rtpsession.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c
index 187ad7b18..2e6588e88 100644
--- a/gst/rtpmanager/rtpsession.c
+++ b/gst/rtpmanager/rtpsession.c
@@ -3536,11 +3536,7 @@ is_rtcp_time (RTPSession * sess, GstClockTime current_time, ReportData * data)
GST_DEBUG ("early feedback %" GST_TIME_FORMAT " < now %"
GST_TIME_FORMAT, GST_TIME_ARGS (sess->next_early_rtcp_time),
GST_TIME_ARGS (current_time));
- goto early;
- }
-
- /* no need to check yet */
- if (sess->next_rtcp_check_time == GST_CLOCK_TIME_NONE ||
+ } else if (sess->next_rtcp_check_time == GST_CLOCK_TIME_NONE ||
sess->next_rtcp_check_time > current_time) {
GST_DEBUG ("no check time yet, next %" GST_TIME_FORMAT " > now %"
GST_TIME_FORMAT, GST_TIME_ARGS (sess->next_rtcp_check_time),
@@ -3548,8 +3544,6 @@ is_rtcp_time (RTPSession * sess, GstClockTime current_time, ReportData * data)
return FALSE;
}
-early:
-
/* take interval and add jitter */
interval = data->interval;
if (interval != GST_CLOCK_TIME_NONE)