Commit 8ada9896 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

rtpsession: Remove useless goto

https://bugzilla.gnome.org/show_bug.cgi?id=746543
parent 7bd1cfa1
......@@ -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)
......
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