rtpsession: fix compilation

This commit is contained in:
Wim Taymans 2011-02-01 18:17:13 +01:00
parent 1bde427250
commit f399b6a641

View file

@ -2809,12 +2809,11 @@ rtp_session_on_timeout (RTPSession * sess, GstClockTime current_time,
data.rtcp, data.is_early, &do_not_suppress);
if (sess->callbacks.send_rtcp && (do_not_suppress || !data.may_suppress)) {
guint packet_size;
/* close the RTCP packet */
gst_rtcp_buffer_end (data.rtcp);
if (sess->callbacks.send_rtcp) {
guint packet_size;
packet_size = GST_BUFFER_SIZE (data.rtcp) + sess->header_len;
UPDATE_AVG (sess->stats.avg_rtcp_packet_size, packet_size);