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
1afe09d5
Commit
1afe09d5
authored
Dec 13, 2008
by
Luca Abeni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless typedef
Originally committed as revision 16114 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d5574b28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
29 deletions
+28
-29
rtp.h
libavformat/rtp.h
+28
-29
No files found.
libavformat/rtp.h
View file @
1afe09d5
...
...
@@ -24,6 +24,33 @@
#include "libavcodec/avcodec.h"
#include "avformat.h"
/** Structure listing useful vars to parse RTP packet payload*/
typedef
struct
rtp_payload_data_s
{
int
sizelength
;
int
indexlength
;
int
indexdeltalength
;
int
profile_level_id
;
int
streamtype
;
int
objecttype
;
char
*
mode
;
/** mpeg 4 AU headers */
struct
AUHeaders
{
int
size
;
int
index
;
int
cts_flag
;
int
cts
;
int
dts_flag
;
int
dts
;
int
rap_flag
;
int
streamstate
;
}
*
au_headers
;
int
nb_au_headers
;
int
au_headers_length_bytes
;
int
cur_au_index
;
}
rtp_payload_data_t
;
typedef
struct
PayloadContext
PayloadContext
;
typedef
struct
RTPDynamicProtocolHandler_s
RTPDynamicProtocolHandler
;
...
...
@@ -36,8 +63,7 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type);
int
rtp_get_payload_type
(
AVCodecContext
*
codec
);
typedef
struct
RTPDemuxContext
RTPDemuxContext
;
typedef
struct
rtp_payload_data_s
rtp_payload_data_s
;
RTPDemuxContext
*
rtp_parse_open
(
AVFormatContext
*
s1
,
AVStream
*
st
,
URLContext
*
rtpc
,
int
payload_type
,
rtp_payload_data_s
*
rtp_payload_data
);
RTPDemuxContext
*
rtp_parse_open
(
AVFormatContext
*
s1
,
AVStream
*
st
,
URLContext
*
rtpc
,
int
payload_type
,
rtp_payload_data_t
*
rtp_payload_data
);
void
rtp_parse_set_dynamic_protocol
(
RTPDemuxContext
*
s
,
PayloadContext
*
ctx
,
RTPDynamicProtocolHandler
*
handler
);
int
rtp_parse_packet
(
RTPDemuxContext
*
s
,
AVPacket
*
pkt
,
...
...
@@ -63,31 +89,4 @@ int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
#define RTCP_TX_RATIO_NUM 5
#define RTCP_TX_RATIO_DEN 1000
/** Structure listing useful vars to parse RTP packet payload*/
typedef
struct
rtp_payload_data_s
{
int
sizelength
;
int
indexlength
;
int
indexdeltalength
;
int
profile_level_id
;
int
streamtype
;
int
objecttype
;
char
*
mode
;
/** mpeg 4 AU headers */
struct
AUHeaders
{
int
size
;
int
index
;
int
cts_flag
;
int
cts
;
int
dts_flag
;
int
dts
;
int
rap_flag
;
int
streamstate
;
}
*
au_headers
;
int
nb_au_headers
;
int
au_headers_length_bytes
;
int
cur_au_index
;
}
rtp_payload_data_t
;
#endif
/* AVFORMAT_RTP_H */
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