rtcpbuffer: Remove invalid sanity check
authorSeungha Yang <seungha.yang@navercorp.com>
Sun, 30 Dec 2018 10:49:56 +0000 (19:49 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 30 Dec 2018 23:25:14 +0000 (23:25 +0000)
Checking the address distance between given begin/end sequence
doesn't make sense. They are output params.

This is to fix weird failure of libs_rtp on Windows

gst-libs/gst/rtp/gstrtcpbuffer.c

index d47caa9..b21650d 100644 (file)
@@ -2893,9 +2893,6 @@ gst_rtcp_packet_xr_get_prt_info (GstRTCPPacket * packet,
   if (end_seq)
     *end_seq = ((data[0] << 8) | data[1]);
 
-  if (block_len < (end_seq - begin_seq) + 2)
-    return FALSE;
-
   return TRUE;
 }