rtpsession: Remove useless goto

https://bugzilla.gnome.org/show_bug.cgi?id=746543
This commit is contained in:
Sebastian Dröge 2015-05-22 13:44:03 +03:00
parent 7bd1cfa197
commit 8ada98964d

View file

@ -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)