Mercurial > libavformat.hg
diff rtpdec.h @ 6255:e87b379e8816 libavformat
rtpdec: Allow depacketizers to specify that pkt->pts should be left as AV_NOPTS_VALUE
author | mstorsjo |
---|---|
date | Wed, 14 Jul 2010 12:26:16 +0000 |
parents | c4c35a9d4ab5 |
children | 7b8b71ff9a76 |
line wrap: on
line diff
--- a/rtpdec.h Mon Jul 12 18:52:03 2010 +0000 +++ b/rtpdec.h Wed Jul 14 12:26:16 2010 +0000 @@ -34,6 +34,8 @@ #define RTP_MIN_PACKET_LENGTH 12 #define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */ +#define RTP_NOTS_VALUE ((uint32_t)-1) + typedef struct RTPDemuxContext RTPDemuxContext; RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *rtpc, int payload_type); void rtp_parse_set_dynamic_protocol(RTPDemuxContext *s, PayloadContext *ctx,