mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01: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:
@@ -219,7 +219,8 @@ static void create_default_qtables(uint8_t *qtables, uint8_t q)
|
||||
|
||||
static int jpeg_parse_packet(AVFormatContext *ctx, PayloadContext *jpeg,
|
||||
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)
|
||||
{
|
||||
uint8_t type, q, width, height;
|
||||
const uint8_t *qtables = NULL;
|
||||
|
||||
Reference in New Issue
Block a user