diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-06-08 17:26:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-06-08 17:26:05 +0000 |
commit | 2bb486a5e65c2a4fe995f0ac348686dae65cacca (patch) | |
tree | eac0096dd60031b313a971ea3f42c174835ca0c8 /libavformat/mpegts.c | |
parent | dbf6b678fca9fe97401b03f67d81c878a3b46d5d (diff) | |
download | ffmpeg-2bb486a5e65c2a4fe995f0ac348686dae65cacca.tar.gz |
remove now unused "global" pcr_pid
Originally committed as revision 9257 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 7738a048f1..8cf7a9f4e9 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -94,7 +94,6 @@ struct MpegTSContext { int64_t cur_pcr; /**< used to estimate the exact PCR */ int pcr_incr; /**< used to estimate the exact PCR */ - int pcr_pid; /**< used to estimate the exact PCR */ /* data needed to handle file based ts */ /** stop parsing loop */ @@ -446,7 +445,6 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len pcr_pid = get16(&p, p_end) & 0x1fff; if (pcr_pid < 0) return; - ts->pcr_pid = pcr_pid; #ifdef DEBUG_SI av_log(ts->stream, AV_LOG_DEBUG, "pcr_pid=0x%x\n", pcr_pid); #endif @@ -1204,7 +1202,6 @@ static int mpegts_read_header(AVFormatContext *s, } nb_packets++; } - ts->pcr_pid = pcr_pid; /* NOTE1: the bitrate is computed without the FEC */ /* NOTE2: it is only the bitrate of the start of the stream */ |