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
d3a57949
Commit
d3a57949
authored
16 years ago
by
Luca Abeni
Browse files
Options
Downloads
Patches
Plain Diff
Document ff_rtp_get_codec_info()
Originally committed as revision 17661 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
81f052cb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/rtp.h
+12
-0
12 additions, 0 deletions
libavformat/rtp.h
with
12 additions
and
0 deletions
libavformat/rtp.h
+
12
−
0
View file @
d3a57949
...
@@ -33,6 +33,18 @@
...
@@ -33,6 +33,18 @@
*/
*/
int
ff_rtp_get_payload_type
(
AVCodecContext
*
codec
);
int
ff_rtp_get_payload_type
(
AVCodecContext
*
codec
);
/**
* Initialize a codec context based on the payload type.
*
* Fill the codec_type and codec_id fields of a codec context with
* information depending on the payload type; for audio codecs, the
* channels and sample_rate fields are also filled.
*
* @param codec The context of the codec
* @param payload_type The the payload type (the 'PT' field in the RTP header)
* @return In case of unknown payload type or dynamic payload type, a
* negative value is returned; otherwise, 0 is returned
*/
int
ff_rtp_get_codec_info
(
AVCodecContext
*
codec
,
int
payload_type
);
int
ff_rtp_get_codec_info
(
AVCodecContext
*
codec
,
int
payload_type
);
const
char
*
ff_rtp_enc_name
(
int
payload_type
);
const
char
*
ff_rtp_enc_name
(
int
payload_type
);
enum
CodecID
ff_rtp_codec_id
(
const
char
*
buf
,
enum
CodecType
codec_type
);
enum
CodecID
ff_rtp_codec_id
(
const
char
*
buf
,
enum
CodecType
codec_type
);
...
...
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