mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
b7ede94bbd
commit
918b411636
|
@ -629,6 +629,10 @@ static int rtp_parse_packet_internal(RTPDemuxContext *s, AVPacket *pkt,
|
||||||
len -= padding;
|
len -= padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h = buf[0] & 0x0F;
|
||||||
|
buf += 4*h;
|
||||||
|
len -= 4*h;
|
||||||
|
|
||||||
s->seq = seq;
|
s->seq = seq;
|
||||||
len -= 12;
|
len -= 12;
|
||||||
buf += 12;
|
buf += 12;
|
||||||
|
|
Loading…
Reference in New Issue