mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rtcpbuffer: calculate FB packet length correctly
This commit is contained in:
parent
4afdc04089
commit
c1da65da5e
1 changed files with 1 additions and 1 deletions
|
@ -2054,7 +2054,7 @@ gst_rtcp_packet_fb_set_fci_length (GstRTCPPacket * packet, guint16 wordlen)
|
||||||
wordlen += 2;
|
wordlen += 2;
|
||||||
GST_WRITE_UINT16_BE (data, wordlen);
|
GST_WRITE_UINT16_BE (data, wordlen);
|
||||||
|
|
||||||
packet->rtcp->map.size += wordlen * 4;
|
packet->rtcp->map.size = packet->offset + ((wordlen + 1) * 4);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue