[FFmpeg-cvslog] r17365 - trunk/libavformat/rtp.h
lucabe
subversion
Mon Feb 16 11:21:14 CET 2009
Author: lucabe
Date: Mon Feb 16 11:21:14 2009
New Revision: 17365
Log:
Document ff_rtp_get_payload_type()
Modified:
trunk/libavformat/rtp.h
Modified: trunk/libavformat/rtp.h
==============================================================================
--- trunk/libavformat/rtp.h Mon Feb 16 10:36:21 2009 (r17364)
+++ trunk/libavformat/rtp.h Mon Feb 16 11:21:14 2009 (r17365)
@@ -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
More information about the ffmpeg-cvslog
mailing list