From 1ad98b0d98c8701273b5e6e4e42b9daff4f40bec Mon Sep 17 00:00:00 2001 From: Pascal Buhler Date: Tue, 24 Aug 2010 13:14:33 +0200 Subject: [PATCH] rtcpbuffer: Round to next 32bit word, not current 32bit word at end of SDES chunk --- gst-libs/gst/rtp/gstrtcpbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/rtp/gstrtcpbuffer.c b/gst-libs/gst/rtp/gstrtcpbuffer.c index bdaf89bfcc..3b37c6fc7d 100644 --- a/gst-libs/gst/rtp/gstrtcpbuffer.c +++ b/gst-libs/gst/rtp/gstrtcpbuffer.c @@ -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;