Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
1afe09d5
Commit
1afe09d5
authored
16 years ago
by
Luca Abeni
Browse files
Options
Downloads
Patches
Plain Diff
Remove useless typedef
Originally committed as revision 16114 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d5574b28
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/rtp.h
+28
-29
28 additions, 29 deletions
libavformat/rtp.h
with
28 additions
and
29 deletions
libavformat/rtp.h
+
28
−
29
View file @
1afe09d5
...
@@ -24,6 +24,33 @@
...
@@ -24,6 +24,33 @@
#include
"libavcodec/avcodec.h"
#include
"libavcodec/avcodec.h"
#include
"avformat.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
PayloadContext
PayloadContext
;
typedef
struct
RTPDynamicProtocolHandler_s
RTPDynamicProtocolHandler
;
typedef
struct
RTPDynamicProtocolHandler_s
RTPDynamicProtocolHandler
;
...
@@ -36,8 +63,7 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type);
...
@@ -36,8 +63,7 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type);
int
rtp_get_payload_type
(
AVCodecContext
*
codec
);
int
rtp_get_payload_type
(
AVCodecContext
*
codec
);
typedef
struct
RTPDemuxContext
RTPDemuxContext
;
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_t
*
rtp_payload_data
);
RTPDemuxContext
*
rtp_parse_open
(
AVFormatContext
*
s1
,
AVStream
*
st
,
URLContext
*
rtpc
,
int
payload_type
,
rtp_payload_data_s
*
rtp_payload_data
);
void
rtp_parse_set_dynamic_protocol
(
RTPDemuxContext
*
s
,
PayloadContext
*
ctx
,
void
rtp_parse_set_dynamic_protocol
(
RTPDemuxContext
*
s
,
PayloadContext
*
ctx
,
RTPDynamicProtocolHandler
*
handler
);
RTPDynamicProtocolHandler
*
handler
);
int
rtp_parse_packet
(
RTPDemuxContext
*
s
,
AVPacket
*
pkt
,
int
rtp_parse_packet
(
RTPDemuxContext
*
s
,
AVPacket
*
pkt
,
...
@@ -63,31 +89,4 @@ int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
...
@@ -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_NUM 5
#define RTCP_TX_RATIO_DEN 1000
#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 */
#endif
/* AVFORMAT_RTP_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment