From d74c6145fb1873a7c301581756fba88465e078e5 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 14 Jul 2010 12:26:16 +0000 Subject: rtpdec: Allow depacketizers to specify that pkt->pts should be left as AV_NOPTS_VALUE Originally committed as revision 24234 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtpdec.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/rtpdec.h') diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 86af2b9d45..aa686da7bb 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -34,6 +34,8 @@ typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler; #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, -- cgit v1.2.3