Commit 66eb2380 authored by lucabe's avatar lucabe

Document ff_rtp_codec_id()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17666 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4d97accf
......@@ -57,6 +57,15 @@ int ff_rtp_get_codec_info(AVCodecContext *codec, int payload_type);
* the encoding name is returned
*/
const char *ff_rtp_enc_name(int payload_type);
/**
* Return the codec id for the given encoding name and codec type.
*
* @param buf A pointer to the string containing the encoding name
* @param codec_type The codec type
* @return In case of unknown encoding name, CODEC_ID_NONE is returned;
* otherwise, the codec id is returned
*/
enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type);
#define RTP_PT_PRIVATE 96
......
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