You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user