From 90c784cc13f6bf21a8eb69f3b88b50c7a70f6c59 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 10 Dec 2012 14:38:32 +0200 Subject: rtpdec: Pass the sequence number to depacketizers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows depacketizers to figure out if packets have been lost. Signed-off-by: Martin Storsjö --- libavformat/rtpdec_xiph.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libavformat/rtpdec_xiph.c') diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index 40415d8f2f..db39462f4a 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -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; -- cgit v1.2.3