diff options
author | Martin Storsjö <martin@martin.st> | 2010-07-14 12:26:16 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-07-14 12:26:16 +0000 |
commit | d74c6145fb1873a7c301581756fba88465e078e5 (patch) | |
tree | 8c911fccfa14acc73c8ff513f96f5c6724520716 /libavformat/rtpdec.h | |
parent | 49d3aab76468739f4c7c38dc9ecf5e570d14abc1 (diff) | |
download | ffmpeg-d74c6145fb1873a7c301581756fba88465e078e5.tar.gz |
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
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |