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
10061cd6
Commit
10061cd6
authored
Jan 13, 2010
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless type declarations
Originally committed as revision 21206 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
dcc2220a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
mpegts.c
libavformat/mpegts.c
+4
-6
No files found.
libavformat/mpegts.c
View file @
10061cd6
...
...
@@ -40,8 +40,6 @@
#define MAX_PES_PAYLOAD 200*1024
typedef
struct
PESContext
PESContext
;
enum
MpegTSFilterType
{
MPEGTS_PES
,
MPEGTS_SECTION
,
...
...
@@ -87,7 +85,7 @@ struct Program {
unsigned
int
pids
[
MAX_PIDS_PER_PROGRAM
];
};
struct
MpegTSContext
{
typedef
struct
MpegTSContext
{
/* user data */
AVFormatContext
*
stream
;
/** raw packet size, including FEC if present */
...
...
@@ -122,7 +120,7 @@ struct MpegTSContext {
/** filters for various streams specified by PMT + for the PAT and PMT */
MpegTSFilter
*
pids
[
NB_PID_MAX
];
};
}
MpegTSContext
;
/* TS stream handling */
...
...
@@ -139,7 +137,7 @@ enum MpegTSState {
#define PES_HEADER_SIZE 9
#define MAX_PES_HEADER_SIZE (9 + 255)
struct
PESContext
{
typedef
struct
PESContext
{
int
pid
;
int
pcr_pid
;
/**< if -1 then all packets containing PCR are considered */
int
stream_type
;
...
...
@@ -157,7 +155,7 @@ struct PESContext {
int64_t
ts_packet_pos
;
/**< position of first TS packet of this PES packet */
uint8_t
header
[
MAX_PES_HEADER_SIZE
];
uint8_t
*
buffer
;
};
}
PESContext
;
extern
AVInputFormat
mpegts_demuxer
;
...
...
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