diff options
author | Martin Storsjö <martin@martin.st> | 2012-12-10 14:38:32 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-12-21 14:14:40 +0200 |
commit | 90c784cc13f6bf21a8eb69f3b88b50c7a70f6c59 (patch) | |
tree | ce93cf089348b7be81dd4af2f38d35efb6be9325 /libavformat/rtpdec_qdm2.c | |
parent | 0a0e340f5b8d9135540befcfa72dcf06e1a05cee (diff) | |
download | ffmpeg-90c784cc13f6bf21a8eb69f3b88b50c7a70f6c59.tar.gz |
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>
Diffstat (limited to 'libavformat/rtpdec_qdm2.c')
-rw-r--r-- | libavformat/rtpdec_qdm2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtpdec_qdm2.c b/libavformat/rtpdec_qdm2.c index a2ce510d26..0d7b5bb87a 100644 --- a/libavformat/rtpdec_qdm2.c +++ b/libavformat/rtpdec_qdm2.c @@ -237,7 +237,8 @@ static int qdm2_restore_block(PayloadContext *qdm, AVStream *st, AVPacket *pkt) static int qdm2_parse_packet(AVFormatContext *s, PayloadContext *qdm, AVStream *st, AVPacket *pkt, uint32_t *timestamp, - const uint8_t *buf, int len, int flags) + const uint8_t *buf, int len, uint16_t seq, + int flags) { int res = AVERROR_INVALIDDATA, n; const uint8_t *end = buf + len, *p = buf; |