rtpdec: support CSRC

Untested, due to lack of rtp stream with CSRCs, but the code as
is does not work with multiple CSRCs

Reviewed-by: Luca Abeni <lucabe72@email.it>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/8/head
Michael Niedermayer 12 years ago
parent b7ede94bbd
commit 918b411636
  1. 4
      libavformat/rtpdec.c

@ -629,6 +629,10 @@ static int rtp_parse_packet_internal(RTPDemuxContext *s, AVPacket *pkt,
len -= padding;
}
h = buf[0] & 0x0F;
buf += 4*h;
len -= 4*h;
s->seq = seq;
len -= 12;
buf += 12;

Loading…
Cancel
Save