From 12348ca25e0bf44bf4530745753e938fc54e7ae3 Mon Sep 17 00:00:00 2001 From: John Brooks Date: Thu, 17 Nov 2011 08:50:12 -0700 Subject: rtpdec: unwrap RTP timestamps for PTS calculation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The timestamp field in RTPDemuxContext was unused before this. Signed-off-by: Martin Storsjö --- libavformat/rtpdec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/rtpdec.h') 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 */ -- cgit v1.2.3