diff options
author | Martin Storsjö | 2012-12-10 14:38:32 +0200 |
---|---|---|
committer | Martin Storsjö | 2012-12-21 14:14:40 +0200 |
commit | 90c784cc13f6bf21a8eb69f3b88b50c7a70f6c59 (patch) | |
tree | ce93cf089348b7be81dd4af2f38d35efb6be9325 /libavformat/rtpdec.h | |
parent | 0a0e340f5b8d9135540befcfa72dcf06e1a05cee (diff) |
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.h')
-rw-r--r-- | libavformat/rtpdec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 668a1f7c98..98e266a687 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -101,6 +101,7 @@ typedef struct RTPStatistics { * updated by the function if returning older, buffered data * @param buf pointer to raw RTP packet data * @param len length of buf + * @param seq RTP sequence number of the packet * @param flags flags from the RTP packet header (RTP_FLAG_*) */ typedef int (*DynamicPayloadPacketHandlerProc)(AVFormatContext *ctx, @@ -108,7 +109,7 @@ typedef int (*DynamicPayloadPacketHandlerProc)(AVFormatContext *ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t * buf, - int len, int flags); + int len, uint16_t seq, int flags); struct RTPDynamicProtocolHandler { const char enc_name[50]; |