rtcpbuffer: Round to next 32bit word, not current 32bit word at end of SDES chunk

This commit is contained in:
Pascal Buhler 2010-08-24 13:14:33 +02:00 committed by Sebastian Dröge
parent 38aba7853e
commit 1ad98b0d98

View file

@ -997,7 +997,7 @@ gst_rtcp_packet_sdes_next_item (GstRTCPPacket * packet)
while (offset < len) {
if (data[offset] == 0) {
/* end of list, round to next 32-bit word */
offset = (offset + 3) & ~3;
offset = (offset + 4) & ~3;
break;
}
offset += data[offset + 1] + 2;