Commit d968100f authored by lucabe's avatar lucabe

Document ff_rtp_enc_name()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17663 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 99543199
......@@ -46,6 +46,16 @@ int ff_rtp_get_payload_type(AVCodecContext *codec);
* negative value is returned; otherwise, 0 is returned
*/
int ff_rtp_get_codec_info(AVCodecContext *codec, int payload_type);
/**
* Return the encoding name (as defined in
* http://www.iana.org/assignments/rtp-parameters) for a given payload type.
*
* @param payload_type The payload type (the 'PT' field in the RTP header)
* @return In case of unknown payload type or dynamic payload type, a pointer
* to an empty string is returned; otherwise, a pointer to a string containing
* the encoding name is returned
*/
const char *ff_rtp_enc_name(int payload_type);
enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment