Fix for bug 3800:

Correctly track the size of Feedback Control Information in Payload specific RTCP feedback packet.

svn path=/trunk/; revision=29259
This commit is contained in:
Jaap Keuter 2009-08-02 12:11:38 +00:00
parent ed930bece3
commit 18478a63bc
1 changed files with 3 additions and 1 deletions

View File

@ -767,6 +767,7 @@ dissect_rtcp_psfb( tvbuff_t *tvb, int offset, proto_tree *rtcp_tree,
int packet_length )
{
unsigned int rtcp_psfb_fmt = 0;
int base_offset = offset;
/* Payload-specific FB message */
/* Feedback message type (FMT): 5 bits */
@ -791,7 +792,8 @@ dissect_rtcp_psfb( tvbuff_t *tvb, int offset, proto_tree *rtcp_tree,
/* Feedback Control Information (FCI) */
if (packet_length > 2) {
proto_tree_add_item( rtcp_tree, hf_rtcp_fci, tvb, offset, packet_length - offset, FALSE );
proto_tree_add_item( rtcp_tree, hf_rtcp_fci, tvb, offset, packet_length - (offset - base_offset), FALSE );
offset = base_offset + packet_length;
}
return offset;