summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorJohn Brooks <john.brooks@bluecherry.net>2011-11-17 08:50:12 -0700
committerMartin Storsjö <martin@martin.st>2011-11-18 10:31:17 +0200
commit12348ca25e0bf44bf4530745753e938fc54e7ae3 (patch)
tree44fb1debd9ac2de9a91f8b052197bfa509866b61 /libavformat/rtpdec.h
parentbb4b0ad83b13c3af57675e80163f3f333adef96f (diff)
rtpdec: unwrap RTP timestamps for PTS calculation
The timestamp field in RTPDemuxContext was unused before this. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index d58edddf41..eb1e62daec 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -151,6 +151,7 @@ struct RTPDemuxContext {
uint32_t timestamp;
uint32_t base_timestamp;
uint32_t cur_timestamp;
+ int64_t unwrapped_timestamp;
int64_t range_start_offset;
int max_payload_size;
struct MpegTSContext *ts; /* only used for MP2T payloads */