• Martin Storsjö's avatar
    rtpproto: Fix the input RTP data format check · 95d880fa
    Martin Storsjö authored
    Only the upper 2 bits of the first byte are known to be
    a fixed value.
    
    The lower bits in the first byte of a RTP packet could be set
    if the input is from another RTP packetizers than libavformat's,
    but for RTCP packets, they would also be set when sending RTCP RR
    packets, triggering false warnings about incorrect input format
    to the protocol.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    95d880fa
rtpproto.c 17.3 KB