Mercurial > libavformat.hg
changeset 2158:22e6d0a65dfd libavformat
remove now unused "global" pcr_pid
author | michael |
---|---|
date | Fri, 08 Jun 2007 17:26:05 +0000 |
parents | 0103a8479df5 |
children | fdaf754594df |
files | mpegts.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegts.c Fri Jun 08 17:21:29 2007 +0000 +++ b/mpegts.c Fri Jun 08 17:26:05 2007 +0000 @@ -94,7 +94,6 @@ 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 @@ 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 @@ } 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 */