mirror of https://git.ffmpeg.org/ffmpeg.git
Document ff_rtp_get_payload_type()
Originally committed as revision 17365 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0550b58f4e
commit
b0a880b38b
|
@ -23,7 +23,14 @@
|
||||||
|
|
||||||
#include "libavcodec/avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
|
|
||||||
/** return < 0 if unknown payload type */
|
/**
|
||||||
|
* Return the payload type for a given codec.
|
||||||
|
*
|
||||||
|
* @param codec The context of the codec
|
||||||
|
* @return In case of unknown payload type or dynamic payload type, a
|
||||||
|
* negative value is returned; otherwise, the payload type (the 'PT' field
|
||||||
|
* in the RTP header) is returned.
|
||||||
|
*/
|
||||||
int ff_rtp_get_payload_type(AVCodecContext *codec);
|
int ff_rtp_get_payload_type(AVCodecContext *codec);
|
||||||
|
|
||||||
#define RTP_PT_PRIVATE 96
|
#define RTP_PT_PRIVATE 96
|
||||||
|
|
Loading…
Reference in New Issue