mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-29 03:23:29 +08:00
rtpdec: Pass the sequence number to depacketizers
This allows depacketizers to figure out if packets have been lost. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -70,12 +70,10 @@ static void xiph_free_context(PayloadContext * data)
|
||||
av_free(data);
|
||||
}
|
||||
|
||||
static int xiph_handle_packet(AVFormatContext * ctx,
|
||||
PayloadContext * data,
|
||||
AVStream * st,
|
||||
AVPacket * pkt,
|
||||
uint32_t * timestamp,
|
||||
const uint8_t * buf, int len, int flags)
|
||||
static int xiph_handle_packet(AVFormatContext *ctx, PayloadContext *data,
|
||||
AVStream *st, AVPacket *pkt, uint32_t *timestamp,
|
||||
const uint8_t *buf, int len, uint16_t seq,
|
||||
int flags)
|
||||
{
|
||||
|
||||
int ident, fragmented, tdt, num_pkts, pkt_len;
|
||||
|
||||
Reference in New Issue
Block a user