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>
This commit is contained in:
Michael Niedermayer 2012-12-27 03:21:43 +01:00
parent b7ede94bbd
commit 918b411636
1 changed files with 4 additions and 0 deletions

View File

@ -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;