Commit 85223d54 authored by lucabe's avatar lucabe

Document ff_rtp_get_payload_type()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17365 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a3da74d0
......@@ -23,7 +23,14 @@
#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);
#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