rtcpbuffer: Round to next 32bit word, not current 32bit word at end of SDES chunk
This commit is contained in:
parent
38aba7853e
commit
1ad98b0d98
@ -997,7 +997,7 @@ gst_rtcp_packet_sdes_next_item (GstRTCPPacket * packet)
|
|||||||
while (offset < len) {
|
while (offset < len) {
|
||||||
if (data[offset] == 0) {
|
if (data[offset] == 0) {
|
||||||
/* end of list, round to next 32-bit word */
|
/* end of list, round to next 32-bit word */
|
||||||
offset = (offset + 3) & ~3;
|
offset = (offset + 4) & ~3;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
offset += data[offset + 1] + 2;
|
offset += data[offset + 1] + 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user