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
d3a57949
Commit
d3a57949
authored
Feb 28, 2009
by
Luca Abeni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document ff_rtp_get_codec_info()
Originally committed as revision 17661 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
81f052cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
rtp.h
libavformat/rtp.h
+12
-0
No files found.
libavformat/rtp.h
View file @
d3a57949
...
...
@@ -33,6 +33,18 @@
*/
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
);
const
char
*
ff_rtp_enc_name
(
int
payload_type
);
enum
CodecID
ff_rtp_codec_id
(
const
char
*
buf
,
enum
CodecType
codec_type
);
...
...
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