diff options
author | John Brooks <john.brooks@bluecherry.net> | 2011-11-17 08:50:12 -0700 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-11-18 10:31:17 +0200 |
commit | 12348ca25e0bf44bf4530745753e938fc54e7ae3 (patch) | |
tree | 44fb1debd9ac2de9a91f8b052197bfa509866b61 /libavformat/rtpdec.h | |
parent | bb4b0ad83b13c3af57675e80163f3f333adef96f (diff) | |
download | ffmpeg-12348ca25e0bf44bf4530745753e938fc54e7ae3.tar.gz |
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.h | 1 |
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 */ |