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_vp8.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libavformat/rtpdec_vp8.c') diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c index 99ca60a6f7..1259eff509 100644 --- a/libavformat/rtpdec_vp8.c +++ b/libavformat/rtpdec_vp8.c @@ -36,13 +36,10 @@ struct PayloadContext { uint32_t timestamp; }; -static int vp8_handle_packet(AVFormatContext *ctx, - PayloadContext *vp8, - AVStream *st, - AVPacket *pkt, - uint32_t *timestamp, - const uint8_t *buf, - int len, int flags) +static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8, + AVStream *st, AVPacket *pkt, uint32_t *timestamp, + const uint8_t *buf, int len, uint16_t seq, + int flags) { int start_partition, end_packet; int extended_bits, part_id; -- cgit v1.2.3