Changeset 3826c4178f2a1d88122ae18bfdd2e9b73c98fa94

Show
Ignore:
Timestamp:
03/31/08 20:43:32 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1206989012 +0300
git-parent:

[16402c26dec1c83fc096f5c083c70c785139a720]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1206989012 +0300
Message:

Fix RTCP SR SDES length field - close #1541

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/stream_out/rtcp.c

    r99fab90 r3826c41  
    150150    while ((ptr - sdes) & 3) /* 32-bits padding */ 
    151151        *ptr++ = 0; 
    152     SetWBE (lenptr, ptr - sdes); 
     152    SetWBE (lenptr, (ptr - sdes - 1) >> 2); 
    153153 
    154154    rtcp->length = ptr - rtcp->payload;