[FFmpeg-cvslog] r17666 - trunk/libavformat/rtp.h

lucabe subversion
Sat Feb 28 20:34:50 CET 2009


Author: lucabe
Date: Sat Feb 28 20:34:50 2009
New Revision: 17666

Log:
Document ff_rtp_codec_id()

Modified:
   trunk/libavformat/rtp.h

Modified: trunk/libavformat/rtp.h
==============================================================================
--- trunk/libavformat/rtp.h	Sat Feb 28 19:35:53 2009	(r17665)
+++ trunk/libavformat/rtp.h	Sat Feb 28 20:34:50 2009	(r17666)
@@ -57,6 +57,15 @@ int ff_rtp_get_codec_info(AVCodecContext
  * 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




More information about the ffmpeg-cvslog mailing list