Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2bb486a5
Commit
2bb486a5
authored
Jun 08, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove now unused "global" pcr_pid
Originally committed as revision 9257 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
dbf6b678
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
mpegts.c
libavformat/mpegts.c
+0
-3
No files found.
libavformat/mpegts.c
View file @
2bb486a5
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment